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
Modifier and TypeMethodDescriptionExecute this action.Gets the action id.<T> T
Gets the action rule.Gets the Action Type.boolean
isHidden()
Returns whether this action is hidden.
-
Method Details
-
getActionId
String getActionId()Gets the action id.- Returns:
- the action id
-
execute
Execute this action.- Parameters:
activity
- the activity- Returns:
- the result of action execution
- Throws:
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
-