Interface Executable
-
- All Known Implementing Classes:
AdviceAction
,AnnotatedAction
,ChooseAction
,EchoAction
,HeaderAction
,IncludeAction
,InvokeAction
public interface Executable
The Interface Executable.Created: 2008. 03. 23 AM 10:38:29
-
-
Method Summary
All Methods Instance Methods Abstract 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.boolean
isHidden()
Returns whether this action is hidden.
-
-
-
Method Detail
-
getActionId
java.lang.String getActionId()
Gets the action id.- Returns:
- the action id
-
execute
java.lang.Object execute(Activity activity) throws java.lang.Exception
Execute this action.- Parameters:
activity
- the activity- Returns:
- the result of action execution
- Throws:
java.lang.Exception
- if the action fails to execute
-
isHidden
boolean isHidden()
Returns whether this action is hidden.- Returns:
- true, if is hidden action
-
getActionType
ActionType getActionType()
Gets the Action Type.- Returns:
- the Action Type
-
getActionRule
<T> T getActionRule()
Gets the action rule.- Type Parameters:
T
- the generic type- Returns:
- the action rule
-
-