JOpt.SDK
Interface IPreferredResource

All Known Implementing Classes:
PreferredResource

public interface IPreferredResource


Method Summary
 java.lang.String getPreferredResourceId()
           
 int getPriority()
           
 void setPreferredResourceId(java.lang.String resourceId)
           
 void setPriority(int priority)
          Set the priority of a preferred resource 10 = highest priority -> JOpt will try to use this resource first 1 = lowest priority -> JOpt will try to use this resource at least, but still before any resource that is not in the preferred resource list
 

Method Detail

setPreferredResourceId

public void setPreferredResourceId(java.lang.String resourceId)

getPreferredResourceId

public java.lang.String getPreferredResourceId()

setPriority

public void setPriority(int priority)
Set the priority of a preferred resource 10 = highest priority -> JOpt will try to use this resource first 1 = lowest priority -> JOpt will try to use this resource at least, but still before any resource that is not in the preferred resource list

Parameters:
priority -

getPriority

public int getPriority()