Interface ProcessMonitorUpdater

    • Method Detail

      • getInstanceExpression

        String getInstanceExpression()
        Get the value for InstanceExpression. (The instance expression for the relationship)
        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.
      • setInstanceExpression

        void setInstanceExpression​(String newInstanceExpression)
        Set the value for InstanceExpression. (The instance expression for the relationship) This value is optional.
        Parameters:
        newInstanceExpression - the new value for InstanceExpression.
        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.
      • getProcessMonitorDefinition

        ProcessMonitorDefinition getProcessMonitorDefinition()
        Get the ProcessMonitorDefinition.
        Returns:
        ProcessMonitorDefinition
        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.
      • setProcessMonitorDefinition

        void setProcessMonitorDefinition​(ProcessMonitorDefinition newProcessMonitorDefinition)
        Set the value for ProcessMonitorDefinition. This value is mandatory.
        Parameters:
        newProcessMonitorDefinition - is the object to set ProcessMonitorDefinition to. What ProcessMonitors should the be updated If this is null, then the object cannot be persisted.