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 String
getGroup()
getLabel()
getName()
@Nullable Integer
getOrder()
@Nullable Pattern
boolean
matchesComponent
(String componentType) Tells if the model matches the expected component Type.boolean
matchesPattern
(String formName) Tells if the given formName matches the required pattern.boolean
matchesScope
(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".
-