Class CompanyConfigChangeEvent

java.lang.Object
overit.geocall.bl.GenericEvent<Boolean>
overit.geocall.bl.BusinessEvent<Boolean>
overit.geocall.bl.config.event.CompanyConfigChangeEvent

public class CompanyConfigChangeEvent extends BusinessEvent<Boolean>
Event that will be called to request a configuration change for a company that could be constrained or not
GCApi:
event
No Reactors
Spouts:
TenantConfigChangeSpoutImpl
  • Constructor Details

    • CompanyConfigChangeEvent

      public CompanyConfigChangeEvent(long company, overit.geocall.config.Config config, String content, boolean constrained)
      Create a new event that will be called to request a configuration change
      Parameters:
      company - the company identifier
      config - the Config
      content - the configuration payload
      constrained - constraint configuration
  • Method Details

    • getCompany

      public long getCompany()
      Returns the company identifier
      Returns:
      the company identifier
    • getConfig

      public overit.geocall.config.Config getConfig()
      Returns the CompanyConfig
      Returns:
      the CompanyConfig
    • getContent

      public String getContent()
      Returns the configuration payload
      Returns:
      the configuration payload
    • isConstrained

      public boolean isConstrained()
      Returns the constraint configuration
      Returns:
      the constraint configuration