com.ibm.carma.ui
Class ParameterValidatorRegistry
java.lang.Object
com.ibm.carma.ui.ParameterValidatorRegistry
public class ParameterValidatorRegistry
- extends java.lang.Object
Registry of parameter validators. The
registry can be populated by the com.ibm.carma.ui.parameterValidators extension
point. Validators for a particular parameter in a particular RAM can be retrieved using the
getParameterValidators(java.lang.String, java.lang.String, java.lang.String) method.
- Since:
- 8.0
|
Field Summary |
static java.lang.String |
COPYRIGHT
|
|
Method Summary |
com.ibm.carma.ui.events.IParameterValidator[] |
getParameterValidators(java.lang.String ramUniqueId,
java.lang.String parameterId,
java.lang.String actionId)
Returns the registered parameter validators for the given RAM, parameter, and action. |
static ParameterValidatorRegistry |
getRegistry()
Returns the parameter validator registry. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
getRegistry
public static ParameterValidatorRegistry getRegistry()
- Returns the parameter validator registry. If the registry has not been created,
a new instance is created and initially populated with data from the Eclipse
extension providers.
- Returns:
- the instance of the registry
getParameterValidators
public com.ibm.carma.ui.events.IParameterValidator[] getParameterValidators(java.lang.String ramUniqueId,
java.lang.String parameterId,
java.lang.String actionId)
- Returns the registered parameter validators for the given RAM, parameter, and action.
- Parameters:
ramUniqueId - the unique identifier of the RAMparameterId - the identifier of the parameter as defined in the RAMactionId - the identifier of the action as defined in the RAM
- Returns:
- the parameter validators that are registered for the given parameter