Package org.camunda.bpm.engine.rest.impl
Class IncidentRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.IncidentRestServiceImpl
- All Implemented Interfaces:
IncidentRestService
public class IncidentRestServiceImpl
extends AbstractRestProcessEngineAware
implements IncidentRestService
- Author:
- Roman Smirnov
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
Fields inherited from interface org.camunda.bpm.engine.rest.IncidentRestService
PATH
-
Constructor Summary
ConstructorDescriptionIncidentRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetIncident
(String incidentId) getIncidents
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theIncidentQuery
interface as a REST service.getIncidentsCount
(javax.ws.rs.core.UriInfo uriInfo) Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Constructor Details
-
IncidentRestServiceImpl
public IncidentRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getIncidents
public List<IncidentDto> getIncidents(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Description copied from interface:IncidentRestService
Exposes theIncidentQuery
interface as a REST service.- Specified by:
getIncidents
in interfaceIncidentRestService
- Returns:
-
getIncidentsCount
- Specified by:
getIncidentsCount
in interfaceIncidentRestService
-
getIncident
- Specified by:
getIncident
in interfaceIncidentRestService
-