public static class DiagnosticsConfig.ConverterImpl
extends hudson.util.RobustCollectionConverter
DiagnosticsSession
is persisted as a
simple list and rebuild into a hash table when loadedConstructor and Description |
---|
ConverterImpl(com.thoughtworks.xstream.XStream xs) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type) |
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) |
addCurrentElementToCollection, createCollection, populateCollection
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
marshal
in class com.thoughtworks.xstream.converters.collections.CollectionConverter
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
unmarshal
in class hudson.util.RobustCollectionConverter
public boolean canConvert(Class type)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
canConvert
in class hudson.util.RobustCollectionConverter
Copyright © 2016–2017. All rights reserved.