Class HousekeepingServices


  • @Singleton
    @Path("housekeeping")
    public class HousekeepingServices
    extends step.core.deployment.AbstractServices
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected step.core.execution.model.ExecutionAccessor executionAccessor  
      protected HousekeepingManager housekeepingManager  
      • Fields inherited from class step.core.deployment.AbstractServices

        configuration, controller, SESSION
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteExection​(java.lang.String id)  
      void init()  
      void setExecutionDescription​(java.lang.String id, java.lang.String description)  
      void setExecutionProtection​(java.lang.String id, boolean protection)  
      • Methods inherited from class step.core.deployment.AbstractServices

        getContext, getExecutionRunnable, getObjectEnricher, getScheduler, getSession, invalidateSession, setSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • executionAccessor

        protected step.core.execution.model.ExecutionAccessor executionAccessor
    • Constructor Detail

      • HousekeepingServices

        public HousekeepingServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class step.core.deployment.AbstractServices
        Throws:
        java.lang.Exception
      • setExecutionProtection

        @POST
        @Consumes("application/json")
        @Path("/execution/{id}/protection")
        public void setExecutionProtection​(@PathParam("id")
                                           java.lang.String id,
                                           boolean protection)
      • setExecutionDescription

        @POST
        @Consumes("application/json")
        @Path("/execution/{id}/description")
        public void setExecutionDescription​(@PathParam("id")
                                            java.lang.String id,
                                            java.lang.String description)