public class Notification
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Notification.Level
A value specifying the severity level of the notification.
|
| Constructor and Description |
|---|
Notification() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
ReportingDescriptorReference |
getAssociatedRule()
Information about how to locate a relevant reporting descriptor.
|
ReportingDescriptorReference |
getDescriptor()
Information about how to locate a relevant reporting descriptor.
|
Exception |
getException()
Describes a runtime exception encountered during the execution of an analysis tool.
|
Notification.Level |
getLevel()
A value specifying the severity level of the notification.
|
java.util.Set<Location> |
getLocations()
The locations relevant to this notification.
|
Message |
getMessage()
Encapsulates a message intended to be read by the end user.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
java.lang.Integer |
getThreadId()
The thread identifier of the code that generated the notification.
|
java.util.Date |
getTimeUtc()
The Coordinated Universal Time (UTC) date and time at which the analysis tool generated the notification.
|
int |
hashCode() |
void |
setAssociatedRule(ReportingDescriptorReference associatedRule)
Information about how to locate a relevant reporting descriptor.
|
void |
setDescriptor(ReportingDescriptorReference descriptor)
Information about how to locate a relevant reporting descriptor.
|
void |
setException(Exception exception)
Describes a runtime exception encountered during the execution of an analysis tool.
|
void |
setLevel(Notification.Level level)
A value specifying the severity level of the notification.
|
void |
setLocations(java.util.Set<Location> locations)
The locations relevant to this notification.
|
void |
setMessage(Message message)
Encapsulates a message intended to be read by the end user.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setThreadId(java.lang.Integer threadId)
The thread identifier of the code that generated the notification.
|
void |
setTimeUtc(java.util.Date timeUtc)
The Coordinated Universal Time (UTC) date and time at which the analysis tool generated the notification.
|
java.lang.String |
toString() |
public java.util.Set<Location> getLocations()
public void setLocations(java.util.Set<Location> locations)
public Message getMessage()
public void setMessage(Message message)
public Notification.Level getLevel()
public void setLevel(Notification.Level level)
public java.lang.Integer getThreadId()
public void setThreadId(java.lang.Integer threadId)
public java.util.Date getTimeUtc()
public void setTimeUtc(java.util.Date timeUtc)
public Exception getException()
public void setException(Exception exception)
public ReportingDescriptorReference getDescriptor()
public void setDescriptor(ReportingDescriptorReference descriptor)
public ReportingDescriptorReference getAssociatedRule()
public void setAssociatedRule(ReportingDescriptorReference associatedRule)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object