Interface MailConnectionSetting

    • Method Detail

      • getPropertyName

        String getPropertyName()
        Get the value for PropertyName. (Mail connection property. Please refer to java's com.sun.mail.imap package documentation for infos which properties could be set.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        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.
      • getPropertyValue

        String getPropertyValue()
        Get the value for PropertyValue. (Value for specified mail property.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        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.
      • setPropertyName

        void setPropertyName​(String newPropertyName)
        Set the value for PropertyName. (Mail connection property. Please refer to java's com.sun.mail.imap package documentation for infos which properties could be set.) This value is mandatory.
        Parameters:
        newPropertyName - the new value for PropertyName. If this is null, then the object cannot be persisted.
        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.
      • setPropertyValue

        void setPropertyValue​(String newPropertyValue)
        Set the value for PropertyValue. (Value for specified mail property.) This value is mandatory.
        Parameters:
        newPropertyValue - the new value for PropertyValue. If this is null, then the object cannot be persisted.
        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.
      • getMailConnector

        MailConnector getMailConnector()
        Get the MailConnector.
        Returns:
        MailConnector
        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.