use of org.estatio.module.settings.dom.ApplicationSetting in project estatio by estatio.
the class ReplayCommandExecutionControllerUsingSettings method getApplicationSetting.
private ApplicationSettingForEstatio getApplicationSetting() {
ApplicationSetting setting = applicationSettingsService.find(KEY);
if (setting == null) {
final State initialState = State.PAUSED;
setting = applicationSettingsService.newString(KEY, "Controls whether ReplayCommandExecution quartz job runs or pauses", initialState.name());
}
return (ApplicationSettingForEstatio) setting;
}
Aggregations