Package step.core.execution
Class ExecutionServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.execution.ExecutionServices
-
Field Summary
FieldsFields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ExecutionParameters executionParams) findByCritera
(FindByCriteraParam param) getExecutionByAttribute
(Map<String, String> attributes) getExecutionsByRepositoryObjectReference
(RepositoryObjectReference objectReference) getReportNodesByExecutionID
(String executionID, String reportNodeClass, int limit) void
init()
saveExecution
(Execution execution) Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Field Details
-
executionAccessor
-
-
Constructor Details
-
ExecutionServices
public ExecutionServices()
-
-
Method Details
-
init
@PostConstruct public void init()- Overrides:
init
in classAbstractStepServices
-
execute
@POST @Consumes("application/json") @Produces("text/plain") @Path("/start") public String execute(ExecutionParameters executionParams) -
getAll
-
getExecutionById
-
abort
-
getExecutionByAttribute
-
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
-
deleteExecution
@DELETE @Path("/{id}") @Consumes("application/json") public void deleteExecution(@PathParam("id") String id)
-