Interface LinkableMonitor

    • Method Detail

      • getActualSeverity

        Long getActualSeverity()
        Get the value for ActualSeverity. (The Actual severity of the monitor, or -1 if it has not been set before.)
        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.
      • getRemoteId

        String getRemoteId()
        Get the value for RemoteId. (Unique identification of the job in the remote system)
        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.
      • getRemoteSystem

        String getRemoteSystem()
        Get the value for RemoteSystem. (Foreign subsystem that this monitor is defined in)
        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.
      • setRemoteId

        void setRemoteId​(String newRemoteId)
        Set the value for RemoteId. (Unique identification of the job in the remote system) This value is optional.
        Parameters:
        newRemoteId - the new value for RemoteId.
        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.
      • setRemoteSystem

        void setRemoteSystem​(String newRemoteSystem)
        Set the value for RemoteSystem. (Foreign subsystem that this monitor is defined in) This value is optional.
        Parameters:
        newRemoteSystem - the new value for RemoteSystem.
        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.
      • getMonitorEventByEventDefinition

        MonitorEvent getMonitorEventByEventDefinition​(EventDefinition eventDefinition)
        Get the MonitorEvent by MonitorEvent.
        Parameters:
        eventDefinition -
        Returns:
        the MonitorEvent, or null if it could not be found