Class ProcessResult
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ContentResult>
-
- com.aspectran.core.activity.process.result.ProcessResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<ContentResult>
,java.util.Collection<ContentResult>
,java.util.List<ContentResult>
,java.util.RandomAccess
public class ProcessResult extends java.util.ArrayList<ContentResult>
The Class ProcessResult.Created: 2008. 06. 09 PM 4:13:40
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessResult()
ProcessResult(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addContentResult(ContentResult contentResult)
Adds the content result.java.lang.String
describe()
ActionResult
getActionResult(java.lang.String actionId)
Returns the result of the action as anActionResult
.ContentResult
getContentResult(java.lang.String name)
ContentResult
getContentResult(java.lang.String name, boolean explicit)
java.lang.String
getName()
java.lang.Object
getResultValue(java.lang.String actionId)
Returns the result value of the action as anObject
.boolean
isExplicit()
ContentResult
lastContentResult()
void
setExplicit(boolean explicit)
void
setName(java.lang.String name)
-
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
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
isExplicit
public boolean isExplicit()
-
setExplicit
public void setExplicit(boolean explicit)
-
addContentResult
protected void addContentResult(ContentResult contentResult)
Adds the content result.- Parameters:
contentResult
- the content result
-
getContentResult
public ContentResult getContentResult(java.lang.String name)
-
getContentResult
public ContentResult getContentResult(java.lang.String name, boolean explicit)
-
lastContentResult
public ContentResult lastContentResult()
-
getActionResult
public ActionResult getActionResult(java.lang.String actionId)
Returns the result of the action as anActionResult
.- Parameters:
actionId
- the action id- Returns:
- the result of the action
-
getResultValue
public java.lang.Object getResultValue(java.lang.String actionId)
Returns the result value of the action as anObject
.- Parameters:
actionId
- the action id- Returns:
- the result value of the action
-
describe
public java.lang.String describe()
-
-