Package step.core.execution
Class ExecutionServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.AbstractStepAsyncServices
step.core.execution.ExecutionServices
-
Field Summary
FieldsFields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ExecutionParameters executionParams) findByCritera(FindByCriteraParam param) getExecutionByAttribute(Map<String, String> attributes) getExecutionsByRepositoryObjectReference(RepositoryObjectReference objectReference) getReportNodesByExecutionID(String executionID, String reportNodeClass, int limit) voidinit()AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport>restartExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request) saveExecution(Execution execution) AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport>stopExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request) Methods inherited from class step.core.deployment.AbstractStepAsyncServices
getSession, scheduleAsyncTaskWithinSessionContext, setCurrentSessionMethods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getSchedulerMethods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Field Details
-
executionAccessor
-
-
Constructor Details
-
ExecutionServices
public ExecutionServices()
-
-
Method Details
-
init
- Overrides:
initin classAbstractStepAsyncServices- Throws:
Exception
-
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) -
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)
-