@ThreadSafe public class Warning extends Info
Alert.DispatcherENTITY_FIELD, INFO_FIELD, NAME_FIELD, SERVICE_FIELD, SOURCE_FIELD, STAMP_FIELD, UUID_FIELD, VISITS_FIELDSERIALIZABLE_MODE, SIMPLE_STRING_MODE| Constructor and Description |
|---|
Warning()
Constructs an instance.
|
Warning(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, writeMappublic Warning()
This is needed for an externalizable implementation.
public Warning(@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 InfoCopyright © 2003-2019 Serge Brisson. All Rights Reserved.