Interface Executable
-
- All Known Implementing Classes:
AdviceAction,AnnotatedAction,ChooseAction,EchoAction,HeaderAction,IncludeAction,InvokeAction
public interface ExecutableThe 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.Objectexecute(Activity activity)Execute this action.java.lang.StringgetActionId()Gets the action id.<T> TgetActionRule()Gets the action rule.ActionTypegetActionType()Gets the Action Type.booleanisHidden()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
-
-