Interface LinkableMonitor

    • Field Detail

      • VERSION_LINKABLEMONITOR

        static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_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:
        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:
        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:
        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:
        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:
        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