hudson.tools
Class ToolInstallation.ToolConverter

java.lang.Object
  extended by hudson.util.XStream2.PassthruConverter<ToolInstallation>
      extended by 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
ToolInstallation.ToolConverter(XStream2 xstream)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolInstallation.ToolConverter

public ToolInstallation.ToolConverter(XStream2 xstream)
Method Detail

callback

protected void callback(ToolInstallation obj,
                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
Specified by:
callback in class XStream2.PassthruConverter<ToolInstallation>

oldHomeField

protected abstract String oldHomeField(ToolInstallation obj)


Copyright © 2004-2013. All Rights Reserved.