Class OptimizeRestService

    • Constructor Detail

      • OptimizeRestService

        public OptimizeRestService​(java.lang.String engineName,
                                   com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • 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)