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 voidapplyActionRule(Executable action)Adds an executable action instance.ExecutableapplyActionRule(AnnotatedActionRule annotatedActionRule)Adds the annotated method action rule.ExecutableapplyActionRule(ChooseRule chooseRule)Adds a list of action instances that can be executed.ExecutableapplyActionRule(EchoActionRule echoActionRule)Adds the echo action rule.ExecutableapplyActionRule(HeaderActionRule headerActionRule)Adds the header action rule.ExecutableapplyActionRule(IncludeActionRule includeActionRule)Adds the include action rule.ExecutableapplyActionRule(InvokeActionRule invokeActionRule)Adds the invoke action rule.java.lang.StringgetName()booleanisExplicit()static ActionListnewInstance(java.lang.String name)voidsetName(java.lang.String name)java.lang.StringtoString()-
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:ActionRuleApplicableAdds the header action rule.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
headerActionRule- the header action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(EchoActionRule echoActionRule)
Description copied from interface:ActionRuleApplicableAdds the echo action rule.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
echoActionRule- the echo action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(InvokeActionRule invokeActionRule)
Description copied from interface:ActionRuleApplicableAdds the invoke action rule.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
invokeActionRule- the invoke action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(AnnotatedActionRule annotatedActionRule)
Description copied from interface:ActionRuleApplicableAdds the annotated method action rule.- Specified by:
applyActionRulein 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:ActionRuleApplicableAdds the include action rule.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
includeActionRule- the include action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(ChooseRule chooseRule)
Description copied from interface:ActionRuleApplicableAdds a list of action instances that can be executed.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
chooseRule- the choose rule- Returns:
- an instance of the executable action
-
applyActionRule
public void applyActionRule(Executable action)
Description copied from interface:ActionRuleApplicableAdds an executable action instance.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
action- an executable action instance
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.AbstractCollection<Executable>
-
newInstance
public static ActionList newInstance(java.lang.String name)
-
-