Class CancelJobEvent


  • public class CancelJobEvent
    extends java.lang.Object
    A simple data structure to describe an event that leads to job cancellation. It contains the reason of cancellation and optionally the cause
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Throwable exception  
      java.lang.String reason  
    • Constructor Summary

      Constructors 
      Constructor Description
      CancelJobEvent​(java.lang.String reason)  
      CancelJobEvent​(java.lang.String reason, java.lang.Throwable throwable)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • exception

        public final java.lang.Throwable exception
      • reason

        public final java.lang.String reason
    • Constructor Detail

      • CancelJobEvent

        public CancelJobEvent​(java.lang.String reason)
      • CancelJobEvent

        public CancelJobEvent​(java.lang.String reason,
                              java.lang.Throwable throwable)