java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.web.alertconfig.impl.AgentAlertConfig
All Implemented Interfaces:
IAlertConfig

public class AgentAlertConfig extends Object implements IAlertConfig
This class represents a configuration for the agent alert
  • Constructor Details

    • AgentAlertConfig

      public AgentAlertConfig(jakarta.servlet.http.HttpServletRequest request, AlertGruTaskConfig config)
      Constructor
      Parameters:
      request - the request used by this configuration
      config - the configuration of the task
  • Method Details

    • getName

      public String getName()
      Gives the name of the alert configuration
      Specified by:
      getName in interface IAlertConfig
      Returns:
      the name
    • isActive

      public boolean isActive()
      Tests if this alert configuration is active or not
      Specified by:
      isActive in interface IAlertConfig
      Returns:
      true if the alert configuration is active, false otherwise
    • setActive

      public void setActive(boolean bActive)
      Activates or deactivates this alert configuration depending to the specified boolean
      Specified by:
      setActive in interface IAlertConfig
      Parameters:
      bActive - true if this alert configuration must be activated, false if it must be deactivated
    • getValidator

      public AbstractAlertConfigValidator getValidator()
      Gives the validator for this alert configuration
      Specified by:
      getValidator in interface IAlertConfig
      Returns:
      the validator
    • addConfig

      public void addConfig()
      Adds this alert configuration
      Specified by:
      addConfig in interface IAlertConfig
    • removeConfig

      public void removeConfig()
      Removes this alert configuration
      Specified by:
      removeConfig in interface IAlertConfig