com.ibm.carma.ui
Class ActionValidatorRegistry
java.lang.Object
com.ibm.carma.ui.ActionValidatorRegistry
public class ActionValidatorRegistry
- extends java.lang.Object
Registry of action validators. The
registry can be populated by the com.ibm.carma.ui.actionValidators extension
point. Validators for a particular action in a particular RAM can be retrieved using the
getActionValidators(java.lang.String, java.lang.String) method.
- Since:
- 8.0
|
Field Summary |
static java.lang.String |
COPYRIGHT
|
| 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 ActionValidatorRegistry getRegistry()
- Returns the action 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
getActionValidators
public IActionValidator[] getActionValidators(java.lang.String ramUniqueId,
java.lang.String actionId)
- Returns the registered action validators for the given RAM and action.
- Parameters:
ramUniqueId - the unique identifier of the RAMactionId - the identifier of the action as defined in the RAM
- Returns:
- the action validators that are registered for the given parameter