|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.xml.VariableContractType
This class specifies different Variable Contract types, and their behaviour
Field Summary | |
static VariableContractType |
DescriptorDefaultVariable
|
static VariableContractType |
DescriptorVariable
|
static VariableContractType |
JavaPropertyVariable
|
static VariableContractType |
ProgramDefaultVariable
|
static VariableContractType |
ProgramVariable
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(VariableContractType b)
|
static VariableContractType |
getType(java.lang.String type)
|
boolean |
hasPriority(java.lang.String current,
java.lang.String candidate)
Compares two sources and determines how has higher priority to set the value. |
boolean |
hasSetAbility(java.lang.String from)
Determines if a non empty value can be set from a source. |
boolean |
hasSetEmptyAbility(java.lang.String from)
Determines if an empty value can be set from a source. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final VariableContractType DescriptorVariable
public static final VariableContractType ProgramVariable
public static final VariableContractType JavaPropertyVariable
public static final VariableContractType ProgramDefaultVariable
public static final VariableContractType DescriptorDefaultVariable
Method Detail |
public boolean equals(java.lang.Object o)
public boolean equals(VariableContractType b)
public java.lang.String toString()
public static VariableContractType getType(java.lang.String type)
public boolean hasSetAbility(java.lang.String from)
from
- A string with the name of the source
public boolean hasSetEmptyAbility(java.lang.String from)
from
- A string with the name of the source
public boolean hasPriority(java.lang.String current, java.lang.String candidate)
current
- The last source to set a value.candidate
- The current source trying to replace a value.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |