Class ExecutionServices


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

      • ExecutionServices

        public ExecutionServices()
    • Method Detail

      • 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)
      • 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)
      • getStatusReport

        @GET
        @Path("/{id}/statusdistribution")
        @Produces("application/json")
        public Map<ReportNodeStatus,​Integer> getStatusReport​(@PathParam("id")
                                                                   String executionID,
                                                                   @QueryParam("class")
                                                                   String reportNodeClass)
      • 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)