org.jets3t.service.model
Class NotificationConfig

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

public class NotificationConfig
extends Object

Represents the notification configuraton of a bucket

Author:
James Murty

Nested Class Summary
 class NotificationConfig.TopicConfig
           
 
Field Summary
static String EVENT_REDUCED_REDUNDANCY_LOST_OBJECT
           
 
Constructor Summary
NotificationConfig()
           
NotificationConfig(List<NotificationConfig.TopicConfig> topicConfigs)
           
 
Method Summary
 void addTopicConfig(NotificationConfig.TopicConfig config)
           
 List<NotificationConfig.TopicConfig> getTopicConfigs()
           
 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 String EVENT_REDUCED_REDUNDANCY_LOST_OBJECT
See Also:
Constant Field Values
Constructor Detail

NotificationConfig

public NotificationConfig(List<NotificationConfig.TopicConfig> topicConfigs)

NotificationConfig

public NotificationConfig()
Method Detail

getTopicConfigs

public List<NotificationConfig.TopicConfig> getTopicConfigs()

addTopicConfig

public void addTopicConfig(NotificationConfig.TopicConfig config)

toXml

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