Class IncidentDetails
- java.lang.Object
-
- com._1c.g5.v8.dt.incidentmanagement.core.IncidentDetails
-
public class IncidentDetails extends Object
Details of the incident.
-
-
Constructor Summary
Constructors Constructor Description IncidentDetails(IncidentPriority priority, String title, String message)
Creates an incident details with a givent incident priority and message provider.IncidentDetails(IncidentPriority priority, String title, String message, IIncidentResolutionController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IIncidentResolutionController
getController()
String
getMessage()
Gets the detailed message of the incident description.IncidentPriority
getPriority()
Gets the priority of the incident.String
getTitle()
Gets brief title that defines the incident type.
-
-
-
Constructor Detail
-
IncidentDetails
public IncidentDetails(IncidentPriority priority, String title, String message)
Creates an incident details with a givent incident priority and message provider.- Parameters:
priority
- The priority of the incident. Cannot benull
.title
- The title, cannot benull
.message
- The message, cannot benull
.
-
IncidentDetails
public IncidentDetails(IncidentPriority priority, String title, String message, IIncidentResolutionController controller)
-
-
Method Detail
-
getMessage
public String getMessage()
Gets the detailed message of the incident description.- Returns:
- The message, cannot be
null
.
-
getPriority
public IncidentPriority getPriority()
Gets the priority of the incident.- Returns:
- The priority of the incident. Cannot be
null
.
-
getTitle
public String getTitle()
Gets brief title that defines the incident type.- Returns:
- The title, cannot be
null
.
-
getController
public IIncidentResolutionController getController()
- Returns:
- the controller
-
-