T
- The type of resultspublic class CASActionResults<T>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CASActionResults() |
CASActionResults(CASActionResults<?> results) |
Modifier and Type | Method and Description |
---|---|
void |
addDispositionEvent(CASDispositionEvent dispositionEvent)
Adds a disposition event to this result.
|
void |
addDispositionEvents(java.util.List<CASDispositionEvent> dispositionEvents) |
void |
addLogEvent(CASLogEvent logEvent)
Adds a log event to this result.
|
void |
addLogEvents(java.util.List<CASLogEvent> logEvents) |
void |
addPerformanceEvent(CASPerformanceEvent performanceEvent)
Adds a performance event to this result.
|
void |
addPerformanceEvents(java.util.List<CASPerformanceEvent> performanceEvents) |
void |
addResult(T result)
Adds a result.
|
void |
clear()
Clears all of the cached results and events.
|
void |
clearDispositionEvents()
Clears all of the disposition events.
|
void |
clearLogEvents()
Clears all of the log events.
|
void |
clearPerformanceEvents()
Clears all of the performance events.
|
void |
clearResults()
Clears all of the results.
|
java.util.List<CASDispositionEvent> |
getDispositionEvents()
Returns a list of disposition events for this result.
|
java.util.List<CASLogEvent> |
getLogEvents()
Returns a list of log events for this result.
|
java.util.List<CASPerformanceEvent> |
getPerformanceEvents()
Returns a list of performance events for this result.
|
T |
getResult(int index)
Gets the result object at the given index.
|
java.util.List<T> |
getResults()
Returns a list of action results.
|
int |
getResultsCount()
Returns the number of action results.
|
boolean |
hasDispositionError()
Return true if a disposition exists with an error.
|
public CASActionResults()
public CASActionResults(CASActionResults<?> results)
public java.util.List<CASLogEvent> getLogEvents()
public void addLogEvent(CASLogEvent logEvent)
logEvent
- The log eventpublic void addLogEvents(java.util.List<CASLogEvent> logEvents)
public java.util.List<CASDispositionEvent> getDispositionEvents()
public boolean hasDispositionError()
public void addDispositionEvent(CASDispositionEvent dispositionEvent)
dispositionEvent
- The disposition eventpublic void addDispositionEvents(java.util.List<CASDispositionEvent> dispositionEvents)
public java.util.List<CASPerformanceEvent> getPerformanceEvents()
public void addPerformanceEvent(CASPerformanceEvent performanceEvent)
performanceEvent
- The performance eventpublic void addPerformanceEvents(java.util.List<CASPerformanceEvent> performanceEvents)
public int getResultsCount()
public java.util.List<T> getResults()
public void addResult(T result)
result
- The resultpublic T getResult(int index)
index
- The indexpublic void clear()
public void clearResults()
public void clearLogEvents()
public void clearDispositionEvents()
public void clearPerformanceEvents()