@ThreadSafe public class Info extends Alert
Alert.Dispatcher
ENTITY_FIELD, INFO_FIELD, NAME_FIELD, SERVICE_FIELD, SOURCE_FIELD, STAMP_FIELD, UUID_FIELD, VISITS_FIELD
SERIALIZABLE_MODE, SIMPLE_STRING_MODE
Constructor and Description |
---|
Info()
Constructs an insgtance.
|
Info(String name,
Optional<String> serviceName,
Optional<String> entityName,
Optional<UUID> sourceUUID,
Optional<Object> info)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getTypeString()
Gets a text string for this alert's type.
|
addVisit, equals, getInfo, getName, getSourceEntityName, getSourceServiceName, getSourceUUID, getStamp, getUUID, hashCode, readExternal, readMap, toString, writeExternal, writeMap
public Info()
This is needed for an Externalizable implementation.
public Info(@Nonnull String name, @Nonnull Optional<String> serviceName, @Nonnull Optional<String> entityName, @Nonnull Optional<UUID> sourceUUID, @Nonnull Optional<Object> info)
name
- The name of this alert.serviceName
- The service generating this alert.entityName
- The name of the entity associated with that service.sourceUUID
- The UUID of the source of this alert.info
- Additional informations.protected String getTypeString()
getTypeString
in class Alert
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.