Class CaseLockedEventInfo


  • public class CaseLockedEventInfo
    extends java.lang.Object
    This class is used to provide a callback information regarding a case encountered by BulkCaseProcessor which was locked. This class also provides a way for that callback to instruct BulkCaseProcessor how to react to this.
    • Constructor Detail

      • CaseLockedEventInfo

        public CaseLockedEventInfo​(CaseInfo lockedCaseInfo)
        Creates a new instance
        Parameters:
        lockedCaseInfo - Information about the case which was locked
    • Method Detail

      • getCaseInfo

        public CaseInfo getCaseInfo()
        Gets information related to case which was locked
        Returns:
        Information related to case which was locked
      • getReaction

        public CaseIssueReaction getReaction()
        Gets the reaction that should be taken to this case being locked
        Returns:
        The reaction to take
      • setReaction

        public void setReaction​(CaseIssueReaction reaction)
        Sets the reaction that should be taken to this case being locked
        Parameters:
        reaction - The reaction to take
      • skipCase

        public void skipCase()
        Notifies BulkCaseProcessor that this case should be skipped in response
      • retry

        public void retry()
        Notifies BulkCaseProcessor that it should try to open this case again
      • abort

        public void abort()
        Notifies BulkCaseProcessor that all further processing should be aborted