@Produces(value="application/json") public class OptimizeRestService extends AbstractRestProcessEngineAware
Modifier and Type | Field and Description |
---|---|
static String |
PATH |
objectMapper, relativeRootResourcePath
processEngine
Constructor and Description |
---|
OptimizeRestService(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public static final String PATH
public OptimizeRestService(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@GET @Path(value="/activity-instance/completed") public List<HistoricActivityInstanceDto> getCompletedHistoricActivityInstances(@QueryParam(value="finishedAfter") String finishedAfterAsString, @QueryParam(value="finishedAt") String finishedAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/activity-instance/running") public List<HistoricActivityInstanceDto> getRunningHistoricActivityInstances(@QueryParam(value="startedAfter") String startedAfterAsString, @QueryParam(value="startedAt") String startedAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/task-instance/completed") public List<HistoricTaskInstanceDto> getCompletedHistoricTaskInstances(@QueryParam(value="finishedAfter") String finishedAfterAsString, @QueryParam(value="finishedAt") String finishedAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/task-instance/running") public List<HistoricTaskInstanceDto> getRunningHistoricTaskInstances(@QueryParam(value="startedAfter") String startedAfterAsString, @QueryParam(value="startedAt") String startedAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/user-operation") public List<UserOperationLogEntryDto> getHistoricUserOperationLogs(@QueryParam(value="occurredAfter") String occurredAfterAsString, @QueryParam(value="occurredAt") String occurredAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/identity-link-log") public List<OptimizeHistoricIdentityLinkLogDto> getHistoricIdentityLinkLogs(@QueryParam(value="occurredAfter") String occurredAfterAsString, @QueryParam(value="occurredAt") String occurredAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/process-instance/completed") public List<HistoricProcessInstanceDto> getCompletedHistoricProcessInstances(@QueryParam(value="finishedAfter") String finishedAfterAsString, @QueryParam(value="finishedAt") String finishedAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/process-instance/running") public List<HistoricProcessInstanceDto> getRunningHistoricProcessInstances(@QueryParam(value="startedAfter") String startedAfterAsString, @QueryParam(value="startedAt") String startedAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/variable-update") public List<OptimizeHistoricVariableUpdateDto> getHistoricVariableUpdates(@QueryParam(value="occurredAfter") String occurredAfterAsString, @QueryParam(value="occurredAt") String occurredAtAsString, @QueryParam(value="maxResults") int maxResults)
@GET @Path(value="/decision-instance") public List<HistoricDecisionInstanceDto> getHistoricDecisionInstances(@QueryParam(value="evaluatedAfter") String evaluatedAfterAsString, @QueryParam(value="evaluatedAt") String evaluatedAtAsString, @QueryParam(value="maxResults") int maxResults)
protected int ensureValidMaxResults(int givenMaxResults)
Copyright © 2020. All rights reserved.