|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- generic type of the parameterpublic interface IParameterRule<T>
A parameter rule object
Method Summary | |
---|---|
ParameterRuleAction |
getAction()
Inspector for the 'action' attribute. |
String |
getDescriptionEndValue()
Inspector for the 'descriptionEndValue' attribute. |
String |
getDescriptionStartValue()
Inspector for the 'descriptionStartValue' attribute. |
String |
getDescriptionValue()
Inspector for the 'descriptionValue' attribute. |
String |
getEndValue()
Inspector for the 'endValue' attribute. |
List<String> |
getParameters()
Inspector for the 'parameters' attribute. |
String |
getStartValue()
Inspector for the 'startValue' attribute. |
ParameterRuleResult |
getValidationResult(IStageInstance stage,
T value,
boolean initializationInProgress,
AbstractParameter<T> parameter)
Gets the validation result for the present parameter |
String |
getValue()
Inspector for the 'value' attribute. |
AbstractParameterRule<T> |
init(String parameterID,
String parameters,
ParameterRuleAction action,
String value,
String first,
String last)
Initializer |
void |
setDescriptionEndValue(String descriptionEndValue)
Modifier for the 'descriptionEndValue' attribute. |
void |
setDescriptionStartValue(String descriptionStartValue)
Modifier for the 'descriptionStartValue' attribute. |
void |
setDescriptionValue(String descriptionValue)
Modifier for the 'descriptionValue' attribute. |
AbstractParameterRule<T> |
setEndValue(String endValue)
Modifier for the 'endValue' attribute. |
AbstractParameterRule<T> |
setStartValue(String startValue)
Modifier for the 'startValue' attribute. |
AbstractParameterRule<T> |
setValue(String value)
Modifier for the 'value' attribute. |
Method Detail |
---|
ParameterRuleAction getAction()
String getDescriptionEndValue()
String getDescriptionStartValue()
String getDescriptionValue()
String getEndValue()
List<String> getParameters()
String getStartValue()
ParameterRuleResult getValidationResult(IStageInstance stage, T value, boolean initializationInProgress, AbstractParameter<T> parameter) throws ParameterException
stage
- the current stagevalue
- the value to validateinitializationInProgress
- T if called within the dif parameter initializationparameter
- the parameter for validation
ParameterException
- if the parameter does not existString getValue()
AbstractParameterRule<T> init(String parameterID, String parameters, ParameterRuleAction action, String value, String first, String last)
parameterID
- the rule parameter IDparameters
- the list of parameters relevant for the given rule (besides the current parameter)action
- the action to perform according to the rule activation (valid or invalid)value
- the value for comparisonfirst
- the first value for interval comparisonlast
- the last value for interval comparison
void setDescriptionEndValue(String descriptionEndValue)
descriptionEndValue
- the new descriptionEndValue value to setvoid setDescriptionStartValue(String descriptionStartValue)
descriptionStartValue
- the new descriptionStartValue value to setvoid setDescriptionValue(String descriptionValue)
descriptionValue
- the new descriptionValue value to setAbstractParameterRule<T> setEndValue(String endValue)
endValue
- the new endValue value to set
AbstractParameterRule<T> setStartValue(String startValue)
startValue
- the new startValue value to set
AbstractParameterRule<T> setValue(String value)
value
- the new value value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |