Package com.nuix.superutilities.cases
Class CaseOpenErrorEvent
- java.lang.Object
- 
- com.nuix.superutilities.cases.CaseOpenErrorEvent
 
- 
 public class CaseOpenErrorEvent extends java.lang.ObjectThis class is used to provide a callback information regarding a case encountered byBulkCaseProcessorwhich had and error when opened. This class also provides a way for that callback to instructBulkCaseProcessorhow to react to this.
- 
- 
Constructor SummaryConstructors Constructor Description CaseOpenErrorEvent(CaseInfo erroredCaseInfo, java.lang.Exception caseOpenError)Creates a new instance
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort()NotifiesBulkCaseProcessorthat all further processing should be abortedCaseInfogetCaseInfo()Gets information related to case which was lockedjava.lang.ExceptiongetError()Gets the exception which was thrownCaseIssueReactiongetReaction()Gets the reaction that should be takenvoidretry()NotifiesBulkCaseProcessorthat it should try to open this case againvoidsetReaction(CaseIssueReaction reaction)Sets the reaction that should be takenvoidskipCase()NotifiesBulkCaseProcessorthat this case should be skipped in response
 
- 
- 
- 
Constructor Detail- 
CaseOpenErrorEventpublic CaseOpenErrorEvent(CaseInfo erroredCaseInfo, java.lang.Exception caseOpenError) Creates a new instance- Parameters:
- erroredCaseInfo- Information related to the case which had the error
- caseOpenError- The exception thrown while opening the case
 
 
- 
 - 
Method Detail- 
getCaseInfopublic CaseInfo getCaseInfo() Gets information related to case which was locked- Returns:
- Information related to case which was locked
 
 - 
getReactionpublic CaseIssueReaction getReaction() Gets the reaction that should be taken- Returns:
- The reaction to take
 
 - 
setReactionpublic void setReaction(CaseIssueReaction reaction) Sets the reaction that should be taken- Parameters:
- reaction- The reaction to take
 
 - 
getErrorpublic java.lang.Exception getError() Gets the exception which was thrown- Returns:
- The exception thrown
 
 - 
skipCasepublic void skipCase() NotifiesBulkCaseProcessorthat this case should be skipped in response
 - 
retrypublic void retry() NotifiesBulkCaseProcessorthat it should try to open this case again
 - 
abortpublic void abort() NotifiesBulkCaseProcessorthat all further processing should be aborted
 
- 
 
-