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(AnnotatedMethodActionRule annotatedMethodActionRule)Adds the annotated method action rule.ExecutableapplyActionRule(BeanMethodActionRule beanMethodActionRule)Adds the bean method action rule.ExecutableapplyActionRule(EchoActionRule echoActionRule)Adds the echo action rule.ExecutableapplyActionRule(HeaderActionRule headerActionRule)Adds the header action rule.ExecutableapplyActionRule(IncludeActionRule includeActionRule)Adds the include action rule.voidapplyActionRule(java.util.Collection<Executable> actionList)Adds a list of action instances that can be executed.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(BeanMethodActionRule beanMethodActionRule)
Description copied from interface:ActionRuleApplicableAdds the bean method action rule.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
beanMethodActionRule- the bean method action rule- Returns:
- an instance of the executable action
-
applyActionRule
public Executable applyActionRule(AnnotatedMethodActionRule annotatedMethodActionRule)
Description copied from interface:ActionRuleApplicableAdds the annotated method action rule.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
annotatedMethodActionRule- 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(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(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 void applyActionRule(Executable action)
Description copied from interface:ActionRuleApplicableAdds an executable action instance.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
action- an executable action instance
-
applyActionRule
public void applyActionRule(java.util.Collection<Executable> actionList)
Description copied from interface:ActionRuleApplicableAdds a list of action instances that can be executed.- Specified by:
applyActionRulein interfaceActionRuleApplicable- Parameters:
actionList- a list of action instances
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.AbstractCollection<Executable>
-
newInstance
public static ActionList newInstance(java.lang.String name)
-
-