Class ActionList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<Executable>
-
- com.aspectran.core.activity.process.ActionList
-
- All Implemented Interfaces:
ActionRuleApplicable
,java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<Executable>
,java.util.Collection<Executable>
,java.util.List<Executable>
,java.util.RandomAccess
public class ActionList extends java.util.ArrayList<Executable> implements ActionRuleApplicable
The set of actions is called a Content or ActionList.Created: 2008. 03. 23 AM 1:38:14
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionList(boolean explicit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyActionRule(Executable action)
Adds an executable action instance.Executable
applyActionRule(AnnotatedActionRule annotatedActionRule)
Adds the annotated method action rule.Executable
applyActionRule(ChooseRule chooseRule)
Adds a list of action instances that can be executed.Executable
applyActionRule(EchoActionRule echoActionRule)
Adds the echo action rule.Executable
applyActionRule(HeaderActionRule headerActionRule)
Adds the header action rule.Executable
applyActionRule(IncludeActionRule includeActionRule)
Adds the include action rule.Executable
applyActionRule(InvokeActionRule invokeActionRule)
Adds the invoke action rule.java.lang.String
getName()
boolean
isExplicit()
static ActionList
newInstance(java.lang.String name)
void
setName(java.lang.String name)
java.lang.String
toString()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
isExplicit
public boolean isExplicit()
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
applyActionRule
public Executable applyActionRule(HeaderActionRule headerActionRule)
Description copied from interface:ActionRuleApplicable
Adds the header action rule.- Specified by:
applyActionRule
in interfaceActionRuleApplicable
- Parameters:
headerActionRule
- the header action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(EchoActionRule echoActionRule)
Description copied from interface:ActionRuleApplicable
Adds the echo action rule.- Specified by:
applyActionRule
in interfaceActionRuleApplicable
- Parameters:
echoActionRule
- the echo action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(InvokeActionRule invokeActionRule)
Description copied from interface:ActionRuleApplicable
Adds the invoke action rule.- Specified by:
applyActionRule
in interfaceActionRuleApplicable
- Parameters:
invokeActionRule
- the invoke action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(AnnotatedActionRule annotatedActionRule)
Description copied from interface:ActionRuleApplicable
Adds the annotated method action rule.- Specified by:
applyActionRule
in interfaceActionRuleApplicable
- Parameters:
annotatedActionRule
- the annotated method action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(IncludeActionRule includeActionRule)
Description copied from interface:ActionRuleApplicable
Adds the include action rule.- Specified by:
applyActionRule
in interfaceActionRuleApplicable
- Parameters:
includeActionRule
- the include action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(ChooseRule chooseRule)
Description copied from interface:ActionRuleApplicable
Adds a list of action instances that can be executed.- Specified by:
applyActionRule
in interfaceActionRuleApplicable
- Parameters:
chooseRule
- the choose rule- Returns:
- an instance of the executable action
-
applyActionRule
public void applyActionRule(Executable action)
Description copied from interface:ActionRuleApplicable
Adds an executable action instance.- Specified by:
applyActionRule
in interfaceActionRuleApplicable
- Parameters:
action
- an executable action instance
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.util.AbstractCollection<Executable>
-
newInstance
public static ActionList newInstance(java.lang.String name)
-
-