Package step.core.execution
Class ExecutionServices
- java.lang.Object
-
- step.core.deployment.AbstractServices
-
- step.core.execution.ExecutionServices
-
@Singleton @Path("executions") public class ExecutionServices extends AbstractServices
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutionAccessor
executionAccessor
-
Fields inherited from class step.core.deployment.AbstractServices
configuration, controller
-
-
Constructor Summary
Constructors Constructor Description ExecutionServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String id)
java.util.List<Execution>
findByCritera(FindByCriteraParam param)
Execution
get(java.lang.String id)
Execution
get(java.util.Map<java.lang.String,java.lang.String> attributes)
java.util.List<Execution>
getAll(java.lang.Integer skip, java.lang.Integer limit)
java.util.List<Execution>
getExecutionsByRepositoryObjectReference(RepositoryObjectReference objectReference)
java.util.List<ReportNode>
getReportNodesByExecutionID(java.lang.String executionID, java.lang.String reportNodeClass, int limit)
void
init()
Execution
save(Execution execution)
-
Methods inherited from class step.core.deployment.AbstractServices
getContext, getExecutionRunnable, getObjectEnricher, getScheduler, getSession, setSession
-
-
-
-
Field Detail
-
executionAccessor
protected ExecutionAccessor executionAccessor
-
-
Method Detail
-
init
@PostConstruct public void init()
- Overrides:
init
in classAbstractServices
-
getAll
@GET @Produces("application/json") public java.util.List<Execution> getAll(@QueryParam("skip") java.lang.Integer skip, @QueryParam("limit") java.lang.Integer limit)
-
get
@GET @Path("/{id}") @Produces("application/json") public Execution get(@PathParam("id") java.lang.String id)
-
get
@POST @Path("/search") public Execution get(java.util.Map<java.lang.String,java.lang.String> attributes)
-
getExecutionsByRepositoryObjectReference
@POST @Path("/search/by/ref") @Produces("application/json") public java.util.List<Execution> getExecutionsByRepositoryObjectReference(RepositoryObjectReference objectReference)
-
findByCritera
@POST @Consumes("application/json") @Produces("application/json") @Path("/search/by/critera") public java.util.List<Execution> findByCritera(FindByCriteraParam param)
-
getReportNodesByExecutionID
@GET @Path("/{id}/reportnodes") @Produces("application/json") public java.util.List<ReportNode> getReportNodesByExecutionID(@PathParam("id") java.lang.String executionID, @QueryParam("class") java.lang.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") java.lang.String id)
-
-