Class IncidentResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.repository.impl.IncidentResourceImpl
-
- All Implemented Interfaces:
IncidentResource
public class IncidentResourceImpl extends java.lang.Object implements IncidentResource
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngineengineprotected java.lang.StringincidentIdprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description IncidentResourceImpl(ProcessEngine engine, java.lang.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 ProcessEngine engine
-
incidentId
protected java.lang.String incidentId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
IncidentResourceImpl
public IncidentResourceImpl(ProcessEngine engine, java.lang.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
-
-