public class IncidentResourceImpl extends Object implements IncidentResource
Modifier and Type | Field and Description |
---|---|
protected ProcessEngine |
engine |
protected String |
incidentId |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
IncidentResourceImpl(ProcessEngine engine,
String incidentId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
clearAnnotation() |
IncidentDto |
getIncident() |
void |
resolveIncident() |
javax.ws.rs.core.Response |
setAnnotation(AnnotationDto annotationDto) |
protected ProcessEngine engine
protected String incidentId
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public IncidentResourceImpl(ProcessEngine engine, String incidentId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public IncidentDto getIncident()
getIncident
in interface IncidentResource
public void resolveIncident()
resolveIncident
in interface IncidentResource
public javax.ws.rs.core.Response setAnnotation(AnnotationDto annotationDto)
setAnnotation
in interface IncidentResource
public javax.ws.rs.core.Response clearAnnotation()
clearAnnotation
in interface IncidentResource
Copyright © 2022. All rights reserved.