com.xebialabs.deployit.core.xml
Class ConfigurationItemWriter
java.lang.Object
com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
com.xebialabs.deployit.core.xml.ConfigurationItemWriter
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
public class ConfigurationItemWriter
- extends com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
Class that writes ConfigurationItem objects to XML using xstream.
Note that this class implements the "writing" part of the ConfigurationItemReaderWriter in server-api-impl.
|
Method Summary |
void |
marshal(java.lang.Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
|
protected void |
readCiProperty(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem configurationItem,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
|
protected void |
readCollectionOfCiProperty(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem configurationItem,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
|
protected void |
writeCiProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
|
protected void |
writeCollectionOfCiProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
|
protected void |
writeCollectionOfStringProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
|
protected void |
writeMapStringStringProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
|
protected void |
writeStringProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
|
| Methods inherited from class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter |
canConvert, readCollectionOfStringProperty, readMapStringStringProperty, readProperties, readProperty, readStringProperty, unmarshal, writeProperties, writeProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
passwordEncrypter
protected PasswordEncrypter passwordEncrypter
ConfigurationItemWriter
public ConfigurationItemWriter()
writeStringProperty
protected void writeStringProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
- Overrides:
writeStringProperty in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
writeCollectionOfStringProperty
protected void writeCollectionOfStringProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
- Overrides:
writeCollectionOfStringProperty in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
writeMapStringStringProperty
protected void writeMapStringStringProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
- Overrides:
writeMapStringStringProperty in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
marshal
public void marshal(java.lang.Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
- Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter- Overrides:
marshal in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
writeCiProperty
protected void writeCiProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
- Specified by:
writeCiProperty in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
writeCollectionOfCiProperty
protected void writeCollectionOfCiProperty(java.lang.Object value,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
- Specified by:
writeCollectionOfCiProperty in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
readCiProperty
protected void readCiProperty(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem configurationItem,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
- Specified by:
readCiProperty in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter
readCollectionOfCiProperty
protected void readCollectionOfCiProperty(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem configurationItem,
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor,
com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
- Specified by:
readCollectionOfCiProperty in class com.xebialabs.deployit.engine.xml.AbstractConfigurationItemConverter