public class ScmSyncConfigurationXStreamConverter extends Object implements com.thoughtworks.xstream.converters.Converter
Modifier and Type | Field and Description |
---|---|
protected static String |
VERSION_ATTRIBUTE |
Constructor and Description |
---|
ScmSyncConfigurationXStreamConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type)
Converter is only applicable on GlobalBuildStatsPlugin data
|
void |
marshal(Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
Will transform scm sync configuration XStream data representation into
current ScmSyncConfigurationPlugin instance
|
protected static final String VERSION_ATTRIBUTE
public ScmSyncConfigurationXStreamConverter()
public boolean canConvert(Class type)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal
in interface com.thoughtworks.xstream.converters.Converter
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
Copyright © 2004-2016. All Rights Reserved.