Package step.core.deployment
Class SettingsServices
- java.lang.Object
-
- step.framework.server.AbstractServices<User>
-
- step.core.deployment.AbstractStepServices
-
- step.core.deployment.SettingsServices
-
@Singleton @Path("settings") public class SettingsServices extends AbstractStepServices
-
-
Field Summary
Fields Modifier and Type Field Description protected ControllerSettingAccessor
controllerSettingsAccessor
-
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
-
Constructor Summary
Constructors Constructor Description SettingsServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteSetting(String key)
String
getSetting(String key)
void
init()
void
saveSetting(String key, String value)
-
Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Field Detail
-
controllerSettingsAccessor
protected ControllerSettingAccessor controllerSettingsAccessor
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception
- Overrides:
init
in classAbstractStepServices
- Throws:
Exception
-
saveSetting
@POST @Consumes("application/json") @Path("/{id}") public void saveSetting(@PathParam("id") String key, String value)
-
deleteSetting
@DELETE @Path("/{id}") public void deleteSetting(@PathParam("id") String key)
-
-