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