Class IncidentResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.repository.impl.IncidentResourceImpl
-
- All Implemented Interfaces:
IncidentResource
public class IncidentResourceImpl extends Object implements IncidentResource
-
-
Field Summary
Fields Modifier and Type Field Description protected org.camunda.bpm.engine.ProcessEngineengineprotected StringincidentIdprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description IncidentResourceImpl(org.camunda.bpm.engine.ProcessEngine engine, String incidentId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseclearAnnotation()IncidentDtogetIncident()voidresolveIncident()javax.ws.rs.core.ResponsesetAnnotation(AnnotationDto annotationDto)
-
-
-
Field Detail
-
engine
protected org.camunda.bpm.engine.ProcessEngine engine
-
incidentId
protected String incidentId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
IncidentResourceImpl
public IncidentResourceImpl(org.camunda.bpm.engine.ProcessEngine engine, String incidentId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getIncident
public IncidentDto getIncident()
- Specified by:
getIncidentin interfaceIncidentResource
-
resolveIncident
public void resolveIncident()
- Specified by:
resolveIncidentin interfaceIncidentResource
-
setAnnotation
public javax.ws.rs.core.Response setAnnotation(AnnotationDto annotationDto)
- Specified by:
setAnnotationin interfaceIncidentResource
-
clearAnnotation
public javax.ws.rs.core.Response clearAnnotation()
- Specified by:
clearAnnotationin interfaceIncidentResource
-
-