Class EchoAction
- java.lang.Object
-
- com.aspectran.core.activity.process.action.EchoAction
-
- All Implemented Interfaces:
Executable
public class EchoAction extends java.lang.Object implements Executable
EchoAction
to produce attributes.Created: 2008. 03. 22 PM 5:50:44
-
-
Constructor Summary
Constructors Constructor Description EchoAction(EchoActionRule echoActionRule)
Instantiates a new EchoAction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute(Activity activity)
Execute this action.java.lang.String
getActionId()
Gets the action id.<T> T
getActionRule()
Gets the action rule.ActionType
getActionType()
Gets the Action Type.EchoActionRule
getEchoActionRule()
Returns the echo action rule.boolean
isHidden()
Returns whether this action is hidden.java.lang.String
toString()
-
-
-
Constructor Detail
-
EchoAction
public EchoAction(EchoActionRule echoActionRule)
Instantiates a new EchoAction.- Parameters:
echoActionRule
- the echo action rule
-
-
Method Detail
-
execute
public java.lang.Object execute(Activity activity) throws java.lang.Exception
Description copied from interface:Executable
Execute this action.- Specified by:
execute
in interfaceExecutable
- Parameters:
activity
- the activity- Returns:
- the result of action execution
- Throws:
java.lang.Exception
- if the action fails to execute
-
getEchoActionRule
public EchoActionRule getEchoActionRule()
Returns the echo action rule.- Returns:
- the echoActionRule
-
getActionId
public java.lang.String getActionId()
Description copied from interface:Executable
Gets the action id.- Specified by:
getActionId
in interfaceExecutable
- Returns:
- the action id
-
isHidden
public boolean isHidden()
Description copied from interface:Executable
Returns whether this action is hidden.- Specified by:
isHidden
in interfaceExecutable
- Returns:
- true, if is hidden action
-
getActionType
public ActionType getActionType()
Description copied from interface:Executable
Gets the Action Type.- Specified by:
getActionType
in interfaceExecutable
- Returns:
- the Action Type
-
getActionRule
public <T> T getActionRule()
Description copied from interface:Executable
Gets the action rule.- Specified by:
getActionRule
in interfaceExecutable
- Type Parameters:
T
- the generic type- Returns:
- the action rule
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-