Interface ActionModel

All Known Implementing Classes:
ActionModelImpl

public interface ActionModel
An action element in the actions tag.
See Also:
  • Method Details

    • getName

      String getName()
    • getAction

      String getAction()
    • getPattern

      @Nullable @Nullable Pattern getPattern()
    • getScopes

      @Nullable @Nullable Set<String> getScopes()
    • getGroup

      @Nullable @Nullable String getGroup()
    • getOrder

      @Nullable @Nullable Integer getOrder()
    • getLabel

      String getLabel()
    • matchesPattern

      boolean matchesPattern(String formName)
      Tells if the given formName matches the required pattern. If there is no pattern in use then everything matches.
    • matchesScope

      boolean matchesScope(String scope)
      Tells if the given scope matches the scopes for which this action is. If no scopes were configured then all match.
    • matchesComponent

      boolean matchesComponent(String componentType)
      Tells if the model matches the expected component Type.
      Parameters:
      componentType - For example "form" or "template".