public class RemoteConfigConverter extends hudson.util.RobustReflectionConverter implements LegacyConverter<org.eclipse.jgit.transport.RemoteConfig>
| Constructor and Description |
|---|
RemoteConfigConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
protected Object |
instantiateNewInstance(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
boolean |
isLegacyNode(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
Is the current reader node a legacy node?
|
org.eclipse.jgit.transport.RemoteConfig |
legacyUnmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
Unmarshall legacy object.
|
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public RemoteConfigConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider provider)
public boolean canConvert(Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class hudson.util.RobustReflectionConverterpublic boolean isLegacyNode(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
isLegacyNode in interface LegacyConverter<org.eclipse.jgit.transport.RemoteConfig>reader - HierarchicalStreamReader.context - UnmarshallingContext.public org.eclipse.jgit.transport.RemoteConfig legacyUnmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
legacyUnmarshal in interface LegacyConverter<org.eclipse.jgit.transport.RemoteConfig>reader - HierarchicalStreamReader.context - UnmarshallingContext.public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.Converterunmarshal in class hudson.util.RobustReflectionConverterprotected Object instantiateNewInstance(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
instantiateNewInstance in class hudson.util.RobustReflectionConverterCopyright © 2004-2015 Hudson. All Rights Reserved.