Interface VisualizationAlertSource

    • Method Detail

      • isVisible

        boolean isVisible()
        Get the value for Visible. (Show this alert source in the visualization.)
        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.
      • setVisible

        void setVisible​(boolean newVisible)
        Set the value for Visible. (Show this alert source in the visualization.)
        Parameters:
        newVisible - the new value for Visible.
        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.
      • getVisualizationAlert

        VisualizationAlert getVisualizationAlert()
        Get the VisualizationAlert.
        Returns:
        VisualizationAlert
        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.
      • getAlertSource

        AlertSource getAlertSource()
        Get the AlertSource.
        Returns:
        AlertSource
        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.
      • setAlertSource

        void setAlertSource​(AlertSource newAlertSource)
        Set the value for AlertSource. This value is mandatory.
        Parameters:
        newAlertSource - is the object to set AlertSource to. The alert source If this is null, then the object cannot be persisted.