Interface VisualizationPSQQueue

    • Method Detail

      • isVisible

        boolean isVisible()
        Get the value for Visible. (Show this queue 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.
      • getLeftPosition

        BigDecimal getLeftPosition()
        Get the value for LeftPosition. (The left position of the queue.)
        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.
      • getTopPosition

        BigDecimal getTopPosition()
        Get the value for TopPosition. (The top position of the queue.)
        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 queue 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.
      • setLeftPosition

        void setLeftPosition​(BigDecimal newLeftPosition)
        Set the value for LeftPosition. (The left position of the queue.) This value is optional.
        Parameters:
        newLeftPosition - the new value for LeftPosition.
        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.
      • setTopPosition

        void setTopPosition​(BigDecimal newTopPosition)
        Set the value for TopPosition. (The top position of the queue.) This value is optional.
        Parameters:
        newTopPosition - the new value for TopPosition.
        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.
      • getVisualizationProcessServerQueue

        VisualizationProcessServerQueue getVisualizationProcessServerQueue()
        Get the VisualizationProcessServerQueue.
        Returns:
        VisualizationProcessServerQueue
        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.
      • getQueue

        Queue getQueue()
        Get the Queue.
        Returns:
        Queue
        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.
      • setQueue

        void setQueue​(Queue newQueue)
        Set the value for Queue. This value is mandatory.
        Parameters:
        newQueue - is the object to set Queue to. The queue If this is null, then the object cannot be persisted.