Interface ActionModel
- All Known Implementing Classes:
ActionModelImpl
public interface ActionModel
An action element in the actions tag.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetGroup()getLabel()getName()@Nullable IntegergetOrder()@Nullable PatternbooleanmatchesComponent(String componentType) Tells if the model matches the expected component Type.booleanmatchesPattern(String formName) Tells if the given formName matches the required pattern.booleanmatchesScope(String scope) Tells if the given scope matches the scopes for which this action is.
-
Method Details
-
getName
String getName() -
getAction
String getAction() -
getPattern
-
getScopes
-
getGroup
-
getOrder
-
getLabel
String getLabel() -
matchesPattern
Tells if the given formName matches the required pattern. If there is no pattern in use then everything matches. -
matchesScope
Tells if the given scope matches the scopes for which this action is. If no scopes were configured then all match. -
matchesComponent
Tells if the model matches the expected component Type.- Parameters:
componentType- For example "form" or "template".
-