Package overit.geocall.bl.config.event
Class CompanyConfigChangeEvent
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-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
Fields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionCompanyConfigChangeEvent(long company, overit.geocall.config.Config config, String content, boolean constrained) Create a new event that will be called to request a configuration change -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company identifieroverit.geocall.config.ConfigReturns theCompanyConfigReturns the configuration payloadbooleanReturns the constraint configurationMethods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, defineResult, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
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 identifierconfig- theConfigcontent- the configuration payloadconstrained- constraint configuration
-
-
Method Details
-
getCompany
public long getCompany()Returns the company identifier- Returns:
- the company identifier
-
getConfig
public overit.geocall.config.Config getConfig()Returns theCompanyConfig- Returns:
- the
CompanyConfig
-
getContent
Returns the configuration payload- Returns:
- the configuration payload
-
isConstrained
public boolean isConstrained()Returns the constraint configuration- Returns:
- the constraint configuration
-