Package step.plugins.housekeeping
Class HousekeepingServices
- java.lang.Object
-
- step.framework.server.AbstractServices<step.core.access.User>
-
- step.core.deployment.AbstractStepServices
-
- step.plugins.housekeeping.HousekeepingServices
-
@Singleton @Path("housekeeping") public class HousekeepingServices extends step.core.deployment.AbstractStepServices
-
-
Field Summary
Fields Modifier and Type Field Description protected step.core.execution.model.ExecutionAccessor
executionAccessor
protected HousekeepingManager
housekeepingManager
-
Constructor Summary
Constructors Constructor Description HousekeepingServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteExecution(String id)
void
init()
void
setExecutionDescription(String id, String description)
void
setExecutionProtection(String id, boolean protection)
-
Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Field Detail
-
housekeepingManager
protected HousekeepingManager housekeepingManager
-
executionAccessor
protected step.core.execution.model.ExecutionAccessor executionAccessor
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception
- Overrides:
init
in classstep.core.deployment.AbstractStepServices
- Throws:
Exception
-
setExecutionProtection
@POST @Consumes("application/json") @Path("/execution/{id}/protection") public void setExecutionProtection(@PathParam("id") String id, boolean protection)
-
setExecutionDescription
@POST @Consumes("application/json") @Path("/execution/{id}/description") public void setExecutionDescription(@PathParam("id") String id, String description)
-
deleteExecution
@DELETE @Consumes("application/json") @Path("/execution/{id}") public void deleteExecution(@PathParam("id") String id) throws ProtectedDataException
- Throws:
ProtectedDataException
-
-