public class MonitorConfiguration extends EventProducer implements Cloneable
| Constructor and Description |
|---|
MonitorConfiguration(URI brokerURL,
String topic,
boolean pullMode,
URI messageBoxURL)
Constructs a NotificationConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
MonitorConfiguration |
clone() |
URI |
getBrokerURL()
Returns the URL of the notification broker.
|
List<String> |
getInteractiveNodeIDs()
Returns the interactiveNodeIDs.
|
URI |
getMessageBoxURL()
Returns the messageBoxUrl.
|
String |
getTopic() |
boolean |
isPullMode()
Returns the pullMode.
|
boolean |
isValid() |
void |
set(URI brokerURL,
String topic,
boolean pullMode,
URI messageBoxURL) |
void |
setBrokerURL(URI brokerURL) |
void |
setInteractiveNodeIDs(List<String> interactiveNodeIDs)
Sets interactiveNodeIDs.
|
void |
setMessageBoxURL(URI messageBoxURL)
Sets messageBoxUrl.
|
void |
setPullMode(boolean pullMode)
Sets pullMode.
|
void |
setTopic(String topic) |
addEventListener, removeEventListener, sendEvent, sendSafeEventpublic void set(URI brokerURL, String topic, boolean pullMode, URI messageBoxURL)
brokerURL - topic - pullMode - messageBoxURL - public void setBrokerURL(URI brokerURL)
brokerURL - The brokerLocation to set.public URI getBrokerURL()
public void setTopic(String topic)
topic - The topic to setpublic String getTopic()
public URI getMessageBoxURL()
public void setMessageBoxURL(URI messageBoxURL)
messageBoxURL - The messageBoxUrl to set.public boolean isPullMode()
public void setPullMode(boolean pullMode)
pullMode - The pullMode to set.public boolean isValid()
public MonitorConfiguration clone()
clone in class ObjectObject.clone()public List<String> getInteractiveNodeIDs()
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.