Class ExecutionServices


  • @Singleton
    @Path("executions")
    public class ExecutionServices
    extends AbstractServices
    • Constructor Detail

      • ExecutionServices

        public ExecutionServices()
    • Method Detail

      • execute

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

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

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

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

        @POST
        @Path("/search/by/ref")
        @Produces("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)
      • save

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public Execution save​(Execution execution)
      • delete

        @DELETE
        @Path("/{id}")
        @Consumes("application/json")
        public void delete​(@PathParam("id")
                           String id)