Package overit.geocall.bl.config.event
Class ConfigPatchEvent
Event that will be called to request a configuration patch.
-
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
ConstructorsConstructorDescriptionConfigPatchEvent(long id, overit.geocall.config.CompositeConfig config, String content, List<String> filters) Create a new event that will be called to request a configuration patch. -
Method Summary
Modifier and TypeMethodDescriptionoverit.geocall.config.CompositeConfigGets the configuration that will be patched.Gets the content of the patch.Gets the filters to apply to the patch.longgetId()Gets the id of the configuration that will be patched.Methods 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
-
ConfigPatchEvent
public ConfigPatchEvent(long id, overit.geocall.config.CompositeConfig config, String content, List<String> filters) Create a new event that will be called to request a configuration patch.- Parameters:
id- the id of the configuration that will be patched.config- the configuration that will be patched.content- the content of the patch.filters- the filters to apply to the patch.
-
-
Method Details
-
getId
public long getId()Gets the id of the configuration that will be patched.- Returns:
- the id of the configuration that will be patched.
-
getConfig
public overit.geocall.config.CompositeConfig getConfig()Gets the configuration that will be patched.- Returns:
- the configuration that will be patched.
-
getContent
Gets the content of the patch.- Returns:
- the content of the patch.
-
getFilters
Gets the filters to apply to the patch.- Returns:
- the filters to apply to the patch.
-