Class OptimizeRestService
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.optimize.OptimizeRestService
-
@Produces("application/json") public class OptimizeRestService extends AbstractRestProcessEngineAware
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PATH
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
-
Constructor Summary
Constructors Constructor Description OptimizeRestService(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
ensureValidMaxResults(int givenMaxResults)
java.util.List<OptimizeHistoricActivityInstanceDto>
getCompletedHistoricActivityInstances(java.lang.String finishedAfterAsString, java.lang.String finishedAtAsString, int maxResults)
java.util.List<HistoricIncidentDto>
getCompletedHistoricIncidents(java.lang.String finishedAfterAsString, java.lang.String finishedAtAsString, int maxResults)
java.util.List<HistoricProcessInstanceDto>
getCompletedHistoricProcessInstances(java.lang.String finishedAfterAsString, java.lang.String finishedAtAsString, int maxResults)
java.util.List<HistoricTaskInstanceDto>
getCompletedHistoricTaskInstances(java.lang.String finishedAfterAsString, java.lang.String finishedAtAsString, int maxResults)
java.util.List<HistoricDecisionInstanceDto>
getHistoricDecisionInstances(java.lang.String evaluatedAfterAsString, java.lang.String evaluatedAtAsString, int maxResults)
java.util.List<OptimizeHistoricIdentityLinkLogDto>
getHistoricIdentityLinkLogs(java.lang.String occurredAfterAsString, java.lang.String occurredAtAsString, int maxResults)
java.util.List<UserOperationLogEntryDto>
getHistoricUserOperationLogs(java.lang.String occurredAfterAsString, java.lang.String occurredAtAsString, int maxResults)
java.util.List<OptimizeHistoricVariableUpdateDto>
getHistoricVariableUpdates(java.lang.String occurredAfterAsString, java.lang.String occurredAtAsString, boolean excludeObjectValues, int maxResults)
java.util.List<HistoricIncidentDto>
getOpenHistoricIncidents(java.lang.String createdAfterAsString, java.lang.String createdAtAsString, int maxResults)
java.util.List<OptimizeHistoricActivityInstanceDto>
getRunningHistoricActivityInstances(java.lang.String startedAfterAsString, java.lang.String startedAtAsString, int maxResults)
java.util.List<HistoricProcessInstanceDto>
getRunningHistoricProcessInstances(java.lang.String startedAfterAsString, java.lang.String startedAtAsString, int maxResults)
java.util.List<HistoricTaskInstanceDto>
getRunningHistoricTaskInstances(java.lang.String startedAfterAsString, java.lang.String startedAtAsString, int maxResults)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Field Detail
-
PATH
public static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCompletedHistoricActivityInstances
@GET @Path("/activity-instance/completed") public java.util.List<OptimizeHistoricActivityInstanceDto> getCompletedHistoricActivityInstances(@QueryParam("finishedAfter") java.lang.String finishedAfterAsString, @QueryParam("finishedAt") java.lang.String finishedAtAsString, @QueryParam("maxResults") int maxResults)
-
getRunningHistoricActivityInstances
@GET @Path("/activity-instance/running") public java.util.List<OptimizeHistoricActivityInstanceDto> getRunningHistoricActivityInstances(@QueryParam("startedAfter") java.lang.String startedAfterAsString, @QueryParam("startedAt") java.lang.String startedAtAsString, @QueryParam("maxResults") int maxResults)
-
getCompletedHistoricTaskInstances
@GET @Path("/task-instance/completed") public java.util.List<HistoricTaskInstanceDto> getCompletedHistoricTaskInstances(@QueryParam("finishedAfter") java.lang.String finishedAfterAsString, @QueryParam("finishedAt") java.lang.String finishedAtAsString, @QueryParam("maxResults") int maxResults)
-
getRunningHistoricTaskInstances
@GET @Path("/task-instance/running") public java.util.List<HistoricTaskInstanceDto> getRunningHistoricTaskInstances(@QueryParam("startedAfter") java.lang.String startedAfterAsString, @QueryParam("startedAt") java.lang.String startedAtAsString, @QueryParam("maxResults") int maxResults)
-
getHistoricUserOperationLogs
@GET @Path("/user-operation") public java.util.List<UserOperationLogEntryDto> getHistoricUserOperationLogs(@QueryParam("occurredAfter") java.lang.String occurredAfterAsString, @QueryParam("occurredAt") java.lang.String occurredAtAsString, @QueryParam("maxResults") int maxResults)
-
getHistoricIdentityLinkLogs
@GET @Path("/identity-link-log") public java.util.List<OptimizeHistoricIdentityLinkLogDto> getHistoricIdentityLinkLogs(@QueryParam("occurredAfter") java.lang.String occurredAfterAsString, @QueryParam("occurredAt") java.lang.String occurredAtAsString, @QueryParam("maxResults") int maxResults)
-
getCompletedHistoricProcessInstances
@GET @Path("/process-instance/completed") public java.util.List<HistoricProcessInstanceDto> getCompletedHistoricProcessInstances(@QueryParam("finishedAfter") java.lang.String finishedAfterAsString, @QueryParam("finishedAt") java.lang.String finishedAtAsString, @QueryParam("maxResults") int maxResults)
-
getRunningHistoricProcessInstances
@GET @Path("/process-instance/running") public java.util.List<HistoricProcessInstanceDto> getRunningHistoricProcessInstances(@QueryParam("startedAfter") java.lang.String startedAfterAsString, @QueryParam("startedAt") java.lang.String startedAtAsString, @QueryParam("maxResults") int maxResults)
-
getHistoricVariableUpdates
@GET @Path("/variable-update") public java.util.List<OptimizeHistoricVariableUpdateDto> getHistoricVariableUpdates(@QueryParam("occurredAfter") java.lang.String occurredAfterAsString, @QueryParam("occurredAt") java.lang.String occurredAtAsString, @QueryParam("excludeObjectValues") boolean excludeObjectValues, @QueryParam("maxResults") int maxResults)
-
getCompletedHistoricIncidents
@GET @Path("/incident/completed") public java.util.List<HistoricIncidentDto> getCompletedHistoricIncidents(@QueryParam("finishedAfter") java.lang.String finishedAfterAsString, @QueryParam("finishedAt") java.lang.String finishedAtAsString, @QueryParam("maxResults") int maxResults)
-
getOpenHistoricIncidents
@GET @Path("/incident/open") public java.util.List<HistoricIncidentDto> getOpenHistoricIncidents(@QueryParam("createdAfter") java.lang.String createdAfterAsString, @QueryParam("createdAt") java.lang.String createdAtAsString, @QueryParam("maxResults") int maxResults)
-
getHistoricDecisionInstances
@GET @Path("/decision-instance") public java.util.List<HistoricDecisionInstanceDto> getHistoricDecisionInstances(@QueryParam("evaluatedAfter") java.lang.String evaluatedAfterAsString, @QueryParam("evaluatedAt") java.lang.String evaluatedAtAsString, @QueryParam("maxResults") int maxResults)
-
ensureValidMaxResults
protected int ensureValidMaxResults(int givenMaxResults)
-
-