Interface Executable
-
- All Known Implementing Classes:
AbstractAction
,BeanMethodAction
,ConfigBeanMethodAction
,EchoAction
,HeaderAction
,IncludeAction
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.int
getCaseNo()
ActionList
getParent()
Gets the action list.boolean
isHidden()
Returns whether this action is hidden.boolean
isLastInChooseWhen()
void
setCaseNo(int caseNo)
void
setLastInChooseWhen(boolean lastInChooseWhen)
-
-
-
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
- the exceptionActionExecutionException
- the action execution exception
-
isHidden
boolean isHidden()
Returns whether this action is hidden.- Returns:
- true, if is hidden action
-
getParent
ActionList getParent()
Gets the action list.- Returns:
- the action list
-
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
-
getCaseNo
int getCaseNo()
-
setCaseNo
void setCaseNo(int caseNo)
-
isLastInChooseWhen
boolean isLastInChooseWhen()
-
setLastInChooseWhen
void setLastInChooseWhen(boolean lastInChooseWhen)
-
-