|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.danet.an.workflow.api.MethodInvocationBatch.Result
The result of an execution of this kind of batch.
| Constructor Summary | |
MethodInvocationBatch.Result(java.lang.Object[] theResults,
boolean exceptionsOccured)
Construct a new Result objects with the given
attributes. |
|
| Method Summary | |
java.lang.Exception |
firstException()
Return the first exception in the result list. |
boolean |
hasExceptions()
Return true if any exceptions have occured
during batch execution. |
java.lang.Object |
result(int i)
Returns the result with the given index. |
java.util.Date |
resultAsDate(int i)
Returns the result with the given index as Date. |
int |
resultAsInt(int i)
Returns the result with the given index as int. |
java.lang.String |
resultAsString(int i)
Returns the result with the given index as String. |
java.lang.Object[] |
results()
The results as an array of objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MethodInvocationBatch.Result(java.lang.Object[] theResults,
boolean exceptionsOccured)
Result objects with the given
attributes.
theResults - the results attribute.exceptionsOccured - the exceptions attribute.| Method Detail |
public java.lang.Object[] results()
public java.lang.Object result(int i)
i - the index into the result array.
public java.lang.String resultAsString(int i)
String.
i - the index into the result array.
String.public java.util.Date resultAsDate(int i)
Date.
i - the index into the result array.
Date.public int resultAsInt(int i)
int.
i - the index into the result array.
int.public boolean hasExceptions()
true if any exceptions have occured
during batch execution.
true if execeptions have occured.
public java.lang.Exception firstException()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the result includes no exceptions.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||