Class OptimizeRestService

java.lang.Object
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.optimize.OptimizeRestService

@Produces("application/json") public class OptimizeRestService extends AbstractRestProcessEngineAware
  • Field Details

  • Constructor Details

    • OptimizeRestService

      public OptimizeRestService(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • getCompletedHistoricActivityInstances

      @GET @Path("/activity-instance/completed") public List<OptimizeHistoricActivityInstanceDto> getCompletedHistoricActivityInstances(@QueryParam("finishedAfter") String finishedAfterAsString, @QueryParam("finishedAt") String finishedAtAsString, @QueryParam("maxResults") int maxResults)
    • getRunningHistoricActivityInstances

      @GET @Path("/activity-instance/running") public List<OptimizeHistoricActivityInstanceDto> getRunningHistoricActivityInstances(@QueryParam("startedAfter") String startedAfterAsString, @QueryParam("startedAt") String startedAtAsString, @QueryParam("maxResults") int maxResults)
    • getCompletedHistoricTaskInstances

      @GET @Path("/task-instance/completed") public List<HistoricTaskInstanceDto> getCompletedHistoricTaskInstances(@QueryParam("finishedAfter") String finishedAfterAsString, @QueryParam("finishedAt") String finishedAtAsString, @QueryParam("maxResults") int maxResults)
    • getRunningHistoricTaskInstances

      @GET @Path("/task-instance/running") public List<HistoricTaskInstanceDto> getRunningHistoricTaskInstances(@QueryParam("startedAfter") String startedAfterAsString, @QueryParam("startedAt") String startedAtAsString, @QueryParam("maxResults") int maxResults)
    • getHistoricUserOperationLogs

      @GET @Path("/user-operation") public List<UserOperationLogEntryDto> getHistoricUserOperationLogs(@QueryParam("occurredAfter") String occurredAfterAsString, @QueryParam("occurredAt") String occurredAtAsString, @QueryParam("maxResults") int maxResults)
    • getHistoricIdentityLinkLogs

      @GET @Path("/identity-link-log") public List<OptimizeHistoricIdentityLinkLogDto> getHistoricIdentityLinkLogs(@QueryParam("occurredAfter") String occurredAfterAsString, @QueryParam("occurredAt") String occurredAtAsString, @QueryParam("maxResults") int maxResults)
    • getCompletedHistoricProcessInstances

      @GET @Path("/process-instance/completed") public List<HistoricProcessInstanceDto> getCompletedHistoricProcessInstances(@QueryParam("finishedAfter") String finishedAfterAsString, @QueryParam("finishedAt") String finishedAtAsString, @QueryParam("maxResults") int maxResults)
    • getRunningHistoricProcessInstances

      @GET @Path("/process-instance/running") public List<HistoricProcessInstanceDto> getRunningHistoricProcessInstances(@QueryParam("startedAfter") String startedAfterAsString, @QueryParam("startedAt") String startedAtAsString, @QueryParam("maxResults") int maxResults)
    • getHistoricVariableUpdates

      @GET @Path("/variable-update") public List<OptimizeHistoricVariableUpdateDto> getHistoricVariableUpdates(@QueryParam("occurredAfter") String occurredAfterAsString, @QueryParam("occurredAt") String occurredAtAsString, @QueryParam("excludeObjectValues") boolean excludeObjectValues, @QueryParam("maxResults") int maxResults)
    • getCompletedHistoricIncidents

      @GET @Path("/incident/completed") public List<HistoricIncidentDto> getCompletedHistoricIncidents(@QueryParam("finishedAfter") String finishedAfterAsString, @QueryParam("finishedAt") String finishedAtAsString, @QueryParam("maxResults") int maxResults)
    • getOpenHistoricIncidents

      @GET @Path("/incident/open") public List<HistoricIncidentDto> getOpenHistoricIncidents(@QueryParam("createdAfter") String createdAfterAsString, @QueryParam("createdAt") String createdAtAsString, @QueryParam("maxResults") int maxResults)
    • getHistoricDecisionInstances

      @GET @Path("/decision-instance") public List<HistoricDecisionInstanceDto> getHistoricDecisionInstances(@QueryParam("evaluatedAfter") String evaluatedAfterAsString, @QueryParam("evaluatedAt") String evaluatedAtAsString, @QueryParam("maxResults") int maxResults)
    • ensureValidMaxResults

      protected int ensureValidMaxResults(int givenMaxResults)