org.jets3t.service.model
Class NotificationConfig

java.lang.Object
  extended by org.jets3t.service.model.NotificationConfig

public class NotificationConfig
extends java.lang.Object

Represents the notification configuraton of a bucket

Author:
James Murty

Nested Class Summary
 class NotificationConfig.TopicConfig
           
 
Field Summary
static java.lang.String EVENT_REDUCED_REDUNDANCY_LOST_OBJECT
           
 
Constructor Summary
NotificationConfig()
           
NotificationConfig(java.util.List<NotificationConfig.TopicConfig> topicConfigs)
           
 
Method Summary
 void addTopicConfig(NotificationConfig.TopicConfig config)
           
 java.util.List<NotificationConfig.TopicConfig> getTopicConfigs()
           
 java.lang.String toXml()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_REDUCED_REDUNDANCY_LOST_OBJECT

public static final java.lang.String EVENT_REDUCED_REDUNDANCY_LOST_OBJECT
See Also:
Constant Field Values
Constructor Detail

NotificationConfig

public NotificationConfig(java.util.List<NotificationConfig.TopicConfig> topicConfigs)

NotificationConfig

public NotificationConfig()
Method Detail

getTopicConfigs

public java.util.List<NotificationConfig.TopicConfig> getTopicConfigs()

addTopicConfig

public void addTopicConfig(NotificationConfig.TopicConfig config)

toXml

public java.lang.String toXml()
                       throws javax.xml.parsers.ParserConfigurationException,
                              javax.xml.parsers.FactoryConfigurationError,
                              javax.xml.transform.TransformerException
Returns:
An XML representation of the object suitable for use as an input to the REST/HTTP interface.
Throws:
javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException