Package org.opencastproject.job.api
Class IncidentImpl
java.lang.Object
org.opencastproject.job.api.IncidentImpl
- All Implemented Interfaces:
Incident
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opencastproject.job.api.Incident
Incident.Severity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()The unique code of this incident.Named parameters describing the incident in more detail.List of additional technical information having a name and a text[(name, text)].longgetId()Return the incident id.longgetJobId()The job related to this incident.The processing host running the job where the incident was occurring.The service type on which the incident was occurring.The severity of this incident.The date where the incident was happening.inthashCode()
-
Constructor Details
-
IncidentImpl
-
-
Method Details
-
getId
public long getId()Description copied from interface:IncidentReturn the incident id. -
getJobId
public long getJobId()Description copied from interface:IncidentThe job related to this incident. -
getServiceType
Description copied from interface:IncidentThe service type on which the incident was occurring.- Specified by:
getServiceTypein interfaceIncident- Returns:
- the service type
-
getProcessingHost
Description copied from interface:IncidentThe processing host running the job where the incident was occurring.- Specified by:
getProcessingHostin interfaceIncident- Returns:
- the processing host
-
getTimestamp
Description copied from interface:IncidentThe date where the incident was happening.- Specified by:
getTimestampin interfaceIncident- Returns:
- the date
-
getSeverity
Description copied from interface:IncidentThe severity of this incident.- Specified by:
getSeverityin interfaceIncident- Returns:
- the severity
-
getCode
Description copied from interface:IncidentThe unique code of this incident. Incident codes may be mapped to plain text, possibly localized. It is recommended to create codes after the schemaservice_type.number, e.g.org.opencastproject.service.1511 -
getDetails
Description copied from interface:IncidentList of additional technical information having a name and a text[(name, text)]. This may be an exception, an ffmpeg commandline, memory statistics, etc.- Specified by:
getDetailsin interfaceIncident- Returns:
- a list of technical background information describing the incident in depth [(detail_name, detail)]
-
getDescriptionParameters
Description copied from interface:IncidentNamed parameters describing the incident in more detail. These parameters may be used to construct a description message.- Specified by:
getDescriptionParametersin interfaceIncident- Returns:
- the message parameters; parameter_name -> parameter_value
-
hashCode
public int hashCode() -
equals
-