Class ExecutionServices

java.lang.Object
step.framework.server.AbstractServices<User>

@Singleton @Path("executions") public class ExecutionServices extends AbstractStepAsyncServices
  • Field Details

  • Constructor Details

    • ExecutionServices

      public ExecutionServices()
  • Method Details

    • init

      @PostConstruct public void init() throws Exception
      Overrides:
      init in class AbstractStepAsyncServices
      Throws:
      Exception
    • execute

      @POST @Consumes("application/json") @Produces("text/plain") @Path("/start") public String execute(ExecutionParameters executionParams)
    • getAll

      @GET @Produces("application/json") public List<Execution> getAll(@QueryParam("skip") Integer skip, @QueryParam("limit") Integer limit)
    • getExecutionById

      @GET @Path("/{id}") @Produces("application/json") public Execution getExecutionById(@PathParam("id") String id)
    • abort

      @GET @Path("/{id}/stop") public Void abort(@PathParam("id") String executionID)
    • getExecutionByAttribute

      @POST @Produces("application/json") @Consumes("application/json") @Path("/search") public Execution getExecutionByAttribute(Map<String,String> attributes)
    • getExecutionsByRepositoryObjectReference

      @POST @Path("/search/by/ref") @Produces("application/json") @Consumes("application/json") public List<Execution> getExecutionsByRepositoryObjectReference(RepositoryObjectReference objectReference)
    • findByCritera

      @POST @Consumes("application/json") @Produces("application/json") @Path("/search/by/critera") public List<Execution> findByCritera(FindByCriteraParam param)
    • getReportNodesByExecutionID

      @GET @Path("/{id}/reportnodes") @Produces("application/json") public List<ReportNode> getReportNodesByExecutionID(@PathParam("id") String executionID, @QueryParam("class") String reportNodeClass, @QueryParam("limit") int limit)
    • saveExecution

      @POST @Produces("application/json") @Consumes("application/json") public Execution saveExecution(Execution execution)
    • deleteExecution

      @DELETE @Path("/{id}") @Consumes("application/json") public void deleteExecution(@PathParam("id") String id)
    • restartExecutions

      @POST @Path("/bulk/restart") @Consumes("application/json") public AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport> restartExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)
    • stopExecutions

      @POST @Path("/bulk/stop") @Consumes("application/json") public AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport> stopExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)