Class EchoActionRule

java.lang.Object
com.aspectran.core.context.rule.EchoActionRule

public class EchoActionRule extends Object
The Class EchoActionRule.

Created: 2008. 03. 22 PM 5:50:44

  • Constructor Details

    • EchoActionRule

      public EchoActionRule()
  • Method Details

    • getActionId

      public String getActionId()
      Gets the action id.
      Returns:
      the action id
    • setActionId

      public void setActionId(String actionId)
      Sets the action id.
      Parameters:
      actionId - the new action id
    • getEchoItemRuleMap

      public ItemRuleMap getEchoItemRuleMap()
      Gets the echo item rule map.
      Returns:
      the echo item rule map
    • setEchoItemRuleMap

      public void setEchoItemRuleMap(ItemRuleMap echoItemRuleMap)
      Sets the echo item rule map.
      Parameters:
      echoItemRuleMap - the new echo item rule map
    • newEchoItemRule

      public ItemRule newEchoItemRule(String echoName)
      Adds a new echo item rule with the specified name and returns it.
      Parameters:
      echoName - the echo name
      Returns:
      the echo item rule
    • addEchoItemRule

      public void addEchoItemRule(ItemRule itemRule)
      Adds the echo item rule.
      Parameters:
      itemRule - the echo item rule
    • getHidden

      public Boolean getHidden()
      Returns whether to hide result of the action.
      Returns:
      true, if is hidden
    • isHidden

      public boolean isHidden()
      Returns whether to hide result of the action.
      Returns:
      true, if is hidden
    • setHidden

      public void setHidden(Boolean hidden)
      Sets whether to hide result of the action.
      Parameters:
      hidden - whether to hide result of the action
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • newInstance

      @NonNull public static EchoActionRule newInstance(String id, Boolean hidden)
      Returns a new derived instance of EchoActionRule.
      Parameters:
      id - the action id
      hidden - whether to hide result of the action
      Returns:
      the echo action rule