Package com.aspectran.core.context.rule
Class EchoActionRule
- java.lang.Object
-
- com.aspectran.core.context.rule.EchoActionRule
-
public class EchoActionRule extends java.lang.Object
The Class EchoActionRule.Created: 2008. 03. 22 PM 5:50:44
-
-
Constructor Summary
Constructors Constructor Description EchoActionRule()
-
Method Summary
Modifier and Type Method Description void
addEchoItemRule(ItemRule itemRule)
Adds the echo item rule.java.lang.String
getActionId()
Gets the action id.ItemRuleMap
getEchoItemRuleMap()
Gets the echo item rule map.java.lang.Boolean
getHidden()
Returns whether to hide result of the action.boolean
isHidden()
Returns whether to hide result of the action.ItemRule
newEchoItemRule(java.lang.String echoName)
Adds a new echo item rule with the specified name and returns it.static EchoActionRule
newInstance(java.lang.String id, java.lang.Boolean hidden)
Returns a new derived instance of EchoActionRule.void
setActionId(java.lang.String actionId)
Sets the action id.void
setEchoItemRuleMap(ItemRuleMap echoItemRuleMap)
Sets the echo item rule map.void
setHidden(java.lang.Boolean hidden)
Sets whether to hide result of the action.java.lang.String
toString()
-
-
-
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:
toString
in 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
-
-