Class IncidentDetails


  • public class IncidentDetails
    extends Object
    Details of the incident.
    • 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 be null.
        title - The title, cannot be null.
        message - The message, cannot be null.
    • 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.