Interface EmailAlertGatewayEmail

    • Method Detail

      • getBody

        String getBody()
        Get the value for Body. (The email body for this object.)
        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.
      • setBody

        void setBody​(String newBody)
        Set the value for Body. (The email body for this object.) This value is optional.
        Parameters:
        newBody - the new value for Body.
        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.
      • getEmailAlertGateway

        EmailAlertGateway getEmailAlertGateway()
        Get the EmailAlertGateway.
        Returns:
        EmailAlertGateway
        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.