|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJOpt.SDK.Implementation.PreferredResource
| Constructor Summary | |
PreferredResource()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PreferredResource()
| Method Detail |
public void setPreferredResourceId(java.lang.String resourceId)
setPreferredResourceId in interface IPreferredResourcepublic java.lang.String getPreferredResourceId()
getPreferredResourceId in interface IPreferredResourcepublic void setPriority(int priority)
IPreferredResource
setPriority in interface IPreferredResourcepriority - public int getPriority()
getPriority in interface IPreferredResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||