public class DMRNotification extends Object implements Validatable
trim().replace("-","_").toUpperCase()
For example, "resource-added" -> NotificationType.RESOURCE_ADDED.
| Constructor and Description |
|---|
DMRNotification() |
DMRNotification(DMRNotification original) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
org.hawkular.client.api.NotificationType |
getNotificationType() |
void |
setName(String name) |
void |
validate()
Checks the state of the object to ensure it is valid.
|
public DMRNotification()
public DMRNotification(DMRNotification original)
public void validate()
throws Exception
Validatablevalidate in interface ValidatableException - if the state of the object is not validpublic String getName()
public void setName(String name)
public org.hawkular.client.api.NotificationType getNotificationType()
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.