public class ProcessingResult extends Object
Constructor and Description |
---|
ProcessingResult() |
Modifier and Type | Method and Description |
---|---|
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
|
public ProcessingResult()
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()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.