|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpt.digitalis.iss.ProcessResults
public class ProcessResults
This class encapsulates the results of the process execution. It includes an
error flag as well as a collection of results.
There are methods supplied to change and inspection of the error flag and the
results collection.
| Constructor Summary | |
|---|---|
ProcessResults()
|
|
| Method Summary | |
|---|---|
Object |
getResult(String id)
Fetches a result with a given id. |
Map<String,Object> |
getResults()
Results map inspector. |
boolean |
isOnError()
Error flag inspector. |
void |
setOnError(boolean onError)
Error flag modifier. |
void |
setResult(String id,
Object value)
Sets an individual result. |
void |
setResults(Map<String,Object> newResults)
Results map modifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessResults()
| Method Detail |
|---|
public boolean isOnError()
public void setOnError(boolean onError)
onError - the error flag value to setpublic Map<String,Object> getResults()
public void setResults(Map<String,Object> newResults)
newResults - the theResults to setpublic Object getResult(String id)
id - the id of the result to fetch
public void setResult(String id,
Object value)
id - the result idvalue - the result value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||