Package hudson.tools
Class ToolInstallation.ToolConverter
- java.lang.Object
-
- hudson.util.XStream2.PassthruConverter<ToolInstallation>
-
- hudson.tools.ToolInstallation.ToolConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
- Direct Known Subclasses:
JDK.ConverterImpl
,Maven.MavenInstallation.ConverterImpl
- Enclosing class:
- ToolInstallation
protected abstract static class ToolInstallation.ToolConverter extends XStream2.PassthruConverter<ToolInstallation>
Subclasses can extend this for data migration from old field storing home directory.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ToolConverter(XStream2 xstream)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
callback(ToolInstallation obj, com.thoughtworks.xstream.converters.UnmarshallingContext context)
protected abstract String
oldHomeField(ToolInstallation obj)
-
Methods inherited from class hudson.util.XStream2.PassthruConverter
canConvert, marshal, unmarshal
-
-
-
-
Constructor Detail
-
ToolConverter
protected ToolConverter(XStream2 xstream)
-
-
Method Detail
-
callback
protected void callback(ToolInstallation obj, com.thoughtworks.xstream.converters.UnmarshallingContext context)
- Specified by:
callback
in classXStream2.PassthruConverter<ToolInstallation>
-
oldHomeField
protected abstract String oldHomeField(ToolInstallation obj)
-
-