Package com.aspectran.core.context.rule
Class EchoActionRule
- java.lang.Object
-
- com.aspectran.core.context.rule.EchoActionRule
-
public class EchoActionRule extends java.lang.ObjectThe Class EchoActionRule.Created: 2008. 03. 22 PM 5:50:44
-
-
Constructor Summary
Constructors Constructor Description EchoActionRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEchoItemRule(ItemRule itemRule)Adds the echo item rule.java.lang.StringgetActionId()Gets the action id.ItemRuleMapgetEchoItemRuleMap()Gets the echo item rule map.java.lang.BooleangetHidden()Returns whether to hide result of the action.booleanisHidden()Returns whether to hide result of the action.ItemRulenewEchoItemRule(java.lang.String echoName)Adds a new echo item rule with the specified name and returns it.static EchoActionRulenewInstance(java.lang.String id, java.lang.Boolean hidden)Returns a new derived instance of EchoActionRule.voidsetActionId(java.lang.String actionId)Sets the action id.voidsetEchoItemRuleMap(ItemRuleMap echoItemRuleMap)Sets the echo item rule map.voidsetHidden(java.lang.Boolean hidden)Sets whether to hide result of the action.java.lang.StringtoString()
-
-
-
Method Detail
-
getActionId
public java.lang.String getActionId()
Gets the action id.- Returns:
- the action id
-
setActionId
public void setActionId(java.lang.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(java.lang.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 java.lang.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(java.lang.Boolean hidden)
Sets whether to hide result of the action.- Parameters:
hidden- whether to hide result of the action
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
newInstance
public static EchoActionRule newInstance(java.lang.String id, java.lang.Boolean hidden)
Returns a new derived instance of EchoActionRule.- Parameters:
id- the action idhidden- whether to hide result of the action- Returns:
- the echo action rule
-
-