public class SystemNotice extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_TYPE_KEY
Key for a type identifier.
|
protected Map<String,Object> |
properties |
static String |
SYSTEM_NOTICE_BASE_TOPIC |
static String |
SYSTEM_NOTICE_DETAILS_KEY
Key for the Set
|
static String |
SYSTEM_NOTICE_EVENT_TYPE |
static String |
SYSTEM_NOTICE_HOST_ADDRESS_KEY
Key for the host address on which this notice originated
|
static String |
SYSTEM_NOTICE_HOST_NAME_KEY
Key for the host name on which this notice originated
|
static String |
SYSTEM_NOTICE_ID_KEY
Key for the notice id.
|
static String |
SYSTEM_NOTICE_PRIORITY_KEY
Key for the priority of the notice.
|
static String |
SYSTEM_NOTICE_SOURCE_KEY
Key for the source of this notice.
|
static String |
SYSTEM_NOTICE_TIME_KEY
Key for the date/time of this notice.
|
static String |
SYSTEM_NOTICE_TITLE_KEY
Key for the title of the notice.
|
Constructor and Description |
---|
SystemNotice() |
SystemNotice(Map<String,Object> properties) |
SystemNotice(String source,
NoticePriority priority,
String title,
Set<String> details) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getDetails() |
String |
getHostAddress() |
String |
getHostName() |
String |
getId() |
NoticePriority |
getPriority() |
Map<String,Object> |
getProperties()
Gets the SystemNotice properties as a map for eventing.
|
String |
getSource() |
Date |
getTime() |
String |
getTitle() |
protected void |
init() |
protected void |
safePut(String key,
Object obj) |
public static final String SYSTEM_NOTICE_BASE_TOPIC
public static final String SYSTEM_NOTICE_EVENT_TYPE
public static final String EVENT_TYPE_KEY
public static final String SYSTEM_NOTICE_HOST_NAME_KEY
public static final String SYSTEM_NOTICE_HOST_ADDRESS_KEY
public static final String SYSTEM_NOTICE_ID_KEY
public static final String SYSTEM_NOTICE_TIME_KEY
public static final String SYSTEM_NOTICE_SOURCE_KEY
public static final String SYSTEM_NOTICE_PRIORITY_KEY
public static final String SYSTEM_NOTICE_TITLE_KEY
public static final String SYSTEM_NOTICE_DETAILS_KEY
public SystemNotice()
public SystemNotice(String source, NoticePriority priority, String title, Set<String> details)
protected void init()
public Map<String,Object> getProperties()
public String getId()
public String getSource()
public String getHostName()
public String getHostAddress()
public NoticePriority getPriority()
public String getTitle()
public Date getTime()
This work is licensed under a Creative Commons Attribution 4.0 International License.