com.soasta.jenkins
Class SCommandInstaller

java.lang.Object
  extended by hudson.tools.ToolInstaller
      extended by hudson.tools.DownloadFromUrlInstaller
          extended by com.soasta.jenkins.CommonInstaller
              extended by com.soasta.jenkins.SCommandInstaller
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstaller>

public class SCommandInstaller
extends CommonInstaller

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class SCommandInstaller.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
SCommandInstaller(CloudTestServer server)
           
 
Method Summary
 hudson.tools.DownloadFromUrlInstaller.Installable getInstallable()
           
 hudson.FilePath performInstallation(hudson.model.Node node, hudson.model.TaskListener log)
          We implement ToolInstaller just so that we can reuse its installation code.
 hudson.FilePath scommand(hudson.model.Node node, hudson.model.TaskListener log)
           
 
Methods inherited from class com.soasta.jenkins.CommonInstaller
performInstallation
 
Methods inherited from class hudson.tools.DownloadFromUrlInstaller
findPullUpDirectory, isUpToDate
 
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

SCommandInstaller

public SCommandInstaller(CloudTestServer server)
                  throws IOException
Throws:
IOException
Method Detail

getInstallable

public hudson.tools.DownloadFromUrlInstaller.Installable getInstallable()
                                                                 throws IOException
Overrides:
getInstallable in class hudson.tools.DownloadFromUrlInstaller
Throws:
IOException

performInstallation

public hudson.FilePath performInstallation(hudson.model.Node node,
                                           hudson.model.TaskListener log)
                                    throws IOException,
                                           InterruptedException
We implement ToolInstaller just so that we can reuse its installation code. And because of this, we collapse ToolInstallation and ToolInstaller.

Throws:
IOException
InterruptedException

scommand

public hudson.FilePath scommand(hudson.model.Node node,
                                hudson.model.TaskListener log)
                         throws IOException,
                                InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2014. All Rights Reserved.