org.apache.airavata.ws.monitor
Class MonitorConfiguration

java.lang.Object
  extended by org.apache.airavata.ws.monitor.event.EventProducer
      extended by org.apache.airavata.ws.monitor.MonitorConfiguration
All Implemented Interfaces:
Cloneable

public class MonitorConfiguration
extends EventProducer
implements Cloneable


Constructor Summary
MonitorConfiguration(URI brokerURL, String topic, boolean pullMode, URI messageBoxURL)
          Constructs a NotificationConfiguration.
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.airavata.ws.monitor.event.EventProducer
addEventListener, removeEventListener, sendEvent, sendSafeEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorConfiguration

public MonitorConfiguration(URI brokerURL,
                            String topic,
                            boolean pullMode,
                            URI messageBoxURL)
Constructs a NotificationConfiguration.

Parameters:
brokerURL -
topic -
pullMode -
messageBoxURL -
Method Detail

set

public void set(URI brokerURL,
                String topic,
                boolean pullMode,
                URI messageBoxURL)
Parameters:
brokerURL -
topic -
pullMode -
messageBoxURL -

setBrokerURL

public void setBrokerURL(URI brokerURL)
Parameters:
brokerURL - The brokerLocation to set.

getBrokerURL

public URI getBrokerURL()
Returns the URL of the notification broker.

Returns:
The URL of the notification broker

setTopic

public void setTopic(String topic)
Parameters:
topic - The topic to set

getTopic

public String getTopic()
Returns:
The userId.

getMessageBoxURL

public URI getMessageBoxURL()
Returns the messageBoxUrl.

Returns:
The messageBoxUrl

setMessageBoxURL

public void setMessageBoxURL(URI messageBoxURL)
Sets messageBoxUrl.

Parameters:
messageBoxURL - The messageBoxUrl to set.

isPullMode

public boolean isPullMode()
Returns the pullMode.

Returns:
The pullMode

setPullMode

public void setPullMode(boolean pullMode)
Sets pullMode.

Parameters:
pullMode - The pullMode to set.

isValid

public boolean isValid()
Returns:
true if the configuration is valid; false otherwise.

clone

public MonitorConfiguration clone()
Overrides:
clone in class Object
See Also:
Object.clone()

getInteractiveNodeIDs

public List<String> getInteractiveNodeIDs()
Returns the interactiveNodeIDs.

Returns:
The interactiveNodeIDs

setInteractiveNodeIDs

public void setInteractiveNodeIDs(List<String> interactiveNodeIDs)
Sets interactiveNodeIDs.

Parameters:
interactiveNodeIDs - The interactiveNodeIDs to set.


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.