Class SendMailAction

    • Constructor Detail

      • SendMailAction

        public SendMailAction()
    • Method Detail

      • setPersistenceService

        public void setPersistenceService​(PersistenceService persistenceService)
      • setMailServerHostName

        public void setMailServerHostName​(String mailServerHostName)
      • setMailServerPort

        public void setMailServerPort​(int mailServerPort)
      • setMailServerUsername

        public void setMailServerUsername​(String mailServerUsername)
      • setMailServerPassword

        public void setMailServerPassword​(String mailServerPassword)
      • setMailServerSSLOnConnect

        public void setMailServerSSLOnConnect​(boolean mailServerSSLOnConnect)
      • execute

        public int execute​(Action action,
                           Event event)
        Description copied from interface: ActionExecutor
        Executes a specified Action, given a triggering Event.
        Specified by:
        execute in interface ActionExecutor
        Parameters:
        action - the Action to execute
        event - the Event that triggered the action
        Returns:
        an integer status corresponding to what happened as defined by public constants of EventService