Interface JobChainCallRaiseEvent

    • Method Detail

      • isMasterVersion

        boolean isMasterVersion()
        Get the value for MasterVersion. (Whether this object belongs to a master object or not.)
        Specified by:
        isMasterVersion in interface Branchable
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getJobChainCall

        JobChainCall getJobChainCall()
        Get the JobChainCall.
        Returns:
        JobChainCall
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • getEventDefinition

        EventDefinition getEventDefinition()
        Get the EventDefinition.
        Returns:
        EventDefinition
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • setEventDefinition

        void setEventDefinition​(EventDefinition newEventDefinition)
        Set the value for EventDefinition. This value is mandatory.
        Parameters:
        newEventDefinition - is the object to set EventDefinition to. Which EventDefinition will be raised when the job chain call reaches a particular status? If this is null, then the object cannot be persisted.