Class ProcessingResult

java.lang.Object
org.kuali.rice.ken.service.ProcessingResult

public class ProcessingResult extends Object
Encapsulates the number of successes and failures in a giving processing run
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • ProcessingResult

      public ProcessingResult()
  • Method Details

    • getFailures

      public List<?> getFailures()
      Returns the list of failures
      Returns:
      the list of failures
    • getSuccesses

      public List<?> getSuccesses()
      Returns the list of successes
      Returns:
      the list of successes
    • addFailure

      public void addFailure(Object o)
      Adds a failure
      Parameters:
      o - an object representing a failure
    • addAllFailures

      public void addAllFailures(Collection c)
      Adds a collection of failures
      Parameters:
      Collection - a collection of failures
    • addSuccess

      public void addSuccess(Object o)
      Adds a success
      Parameters:
      o - an object representing a success
    • addAllSuccesses

      public void addAllSuccesses(Collection c)
      Adds a collectin of successes
      Parameters:
      Collection - a collection of successes
    • add

      public void add(ProcessingResult result)
      Adds the contents of the specified ProcessingResult to this ProcessingResult
      Parameters:
      result - the result to append to this result
    • toString

      public String toString()
      Returns a string representation of this ProcessingResults object
      Overrides:
      toString in class Object
      See Also: