Package org.jets3t.service.model
Class NotificationConfig
- java.lang.Object
-
- org.jets3t.service.model.NotificationConfig
-
public class NotificationConfig extends Object
Represents the notification configuraton of a bucket- Author:
- James Murty
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
NotificationConfig.TopicConfig
-
Field Summary
Fields Modifier and Type Field Description static String
EVENT_REDUCED_REDUNDANCY_LOST_OBJECT
-
Constructor Summary
Constructors Constructor Description NotificationConfig()
NotificationConfig(List<NotificationConfig.TopicConfig> topicConfigs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTopicConfig(NotificationConfig.TopicConfig config)
List<NotificationConfig.TopicConfig>
getTopicConfigs()
String
toXml()
-
-
-
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
-
-