hudson.plugins.buckminster
Class BuckminsterInstallation.BuckminsterInstaller

java.lang.Object
  extended by hudson.tools.ToolInstaller
      extended by hudson.tools.DownloadFromUrlInstaller
          extended by hudson.plugins.buckminster.BuckminsterInstallation.BuckminsterInstaller
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstaller>
Enclosing class:
BuckminsterInstallation

public static class BuckminsterInstallation.BuckminsterInstaller
extends hudson.tools.DownloadFromUrlInstaller


Nested Class Summary
static class BuckminsterInstallation.BuckminsterInstaller.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tools.DownloadFromUrlInstaller
hudson.tools.DownloadFromUrlInstaller.Installable, hudson.tools.DownloadFromUrlInstaller.InstallableList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.tools.DownloadFromUrlInstaller
id
 
Fields inherited from class hudson.tools.ToolInstaller
tool
 
Constructor Summary
BuckminsterInstallation.BuckminsterInstaller(java.lang.String id, boolean update)
           
 
Method Summary
protected  hudson.FilePath findPullUpDirectory(hudson.FilePath root)
           
 boolean isUpdate()
           
protected  boolean isUpToDate(hudson.FilePath expectedLocation, hudson.tools.DownloadFromUrlInstaller.Installable i)
          Overridden to check if the director file has been deleted manually (to force an update of the directory.
 hudson.FilePath performInstallation(hudson.tools.ToolInstallation tool, hudson.model.Node node, hudson.model.TaskListener log)
           
 
Methods inherited from class hudson.tools.DownloadFromUrlInstaller
getInstallable
 
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuckminsterInstallation.BuckminsterInstaller

@DataBoundConstructor
public BuckminsterInstallation.BuckminsterInstaller(java.lang.String id,
                                                                         boolean update)
Method Detail

findPullUpDirectory

protected hudson.FilePath findPullUpDirectory(hudson.FilePath root)
                                       throws java.io.IOException,
                                              java.lang.InterruptedException
Overrides:
findPullUpDirectory in class hudson.tools.DownloadFromUrlInstaller
Throws:
java.io.IOException
java.lang.InterruptedException

isUpdate

public boolean isUpdate()

performInstallation

public hudson.FilePath performInstallation(hudson.tools.ToolInstallation tool,
                                           hudson.model.Node node,
                                           hudson.model.TaskListener log)
                                    throws java.io.IOException,
                                           java.lang.InterruptedException
Overrides:
performInstallation in class hudson.tools.DownloadFromUrlInstaller
Throws:
java.io.IOException
java.lang.InterruptedException

isUpToDate

protected boolean isUpToDate(hudson.FilePath expectedLocation,
                             hudson.tools.DownloadFromUrlInstaller.Installable i)
                      throws java.io.IOException,
                             java.lang.InterruptedException
Overridden to check if the director file has been deleted manually (to force an update of the directory.

Overrides:
isUpToDate in class hudson.tools.DownloadFromUrlInstaller
Throws:
java.io.IOException
java.lang.InterruptedException
See Also:
http://issues.hudson-ci.org/browse/HUDSON-7037}


Copyright © 2011. All Rights Reserved.