Search in sources :

Example 1 with ApplicationSetting

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;
}
Also used : ApplicationSetting(org.estatio.module.settings.dom.ApplicationSetting) ApplicationSettingForEstatio(org.estatio.module.settings.dom.ApplicationSettingForEstatio)

Aggregations

ApplicationSetting (org.estatio.module.settings.dom.ApplicationSetting)1 ApplicationSettingForEstatio (org.estatio.module.settings.dom.ApplicationSettingForEstatio)1