|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ken.service.ProcessingResult
public class ProcessingResult
Encapsulates the number of successes and failures in a giving processing run
Constructor Summary | |
---|---|
ProcessingResult()
|
Method Summary | |
---|---|
void |
add(ProcessingResult result)
Adds the contents of the specified ProcessingResult to this ProcessingResult |
void |
addAllFailures(Collection c)
Adds a collection of failures |
void |
addAllSuccesses(Collection c)
Adds a collectin of successes |
void |
addFailure(Object o)
Adds a failure |
void |
addSuccess(Object o)
Adds a success |
List<?> |
getFailures()
Returns the list of failures |
List<?> |
getSuccesses()
Returns the list of successes |
String |
toString()
Returns a string representation of this ProcessingResults object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProcessingResult()
Method Detail |
---|
public List<?> getFailures()
public List<?> getSuccesses()
public void addFailure(Object o)
o
- an object representing a failurepublic void addAllFailures(Collection c)
Collection
- a collection of failurespublic void addSuccess(Object o)
o
- an object representing a successpublic void addAllSuccesses(Collection c)
Collection
- a collection of successespublic void add(ProcessingResult result)
result
- the result to append to this resultpublic String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |