org.hudsonci.maven.plugin.install
Class SlaveBundleInstaller
java.lang.Object
hudson.slaves.ComputerListener
org.hudsonci.maven.plugin.install.SlaveBundleInstaller
- All Implemented Interfaces:
- ExtensionPoint, EventConsumer
@Named
@Singleton
public class SlaveBundleInstaller
- extends ComputerListener
- implements EventConsumer
Handles installation of the slave bundle.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_PATH
public static final String BASE_PATH
- See Also:
- Constant Field Values
BUNDLE_ARCHIVE
public static final String BUNDLE_ARCHIVE
- See Also:
- Constant Field Values
SlaveBundleInstaller
public SlaveBundleInstaller()
consume
public void consume(EventObject event)
throws Exception
- Handles installation onto the master node.
- Specified by:
consume in interface EventConsumer
- Throws:
Exception
preOnline
public void preOnline(Computer c,
Channel channel,
FilePath root,
TaskListener listener)
throws IOException,
InterruptedException
- Handles installation onto slave nodes.
- Overrides:
preOnline in class ComputerListener
- Throws:
IOException
InterruptedException
getInstallRoot
public static FilePath getInstallRoot()
throws IOException,
InterruptedException
- Get a reference to the installed bundle root.
- Throws:
IOException
InterruptedException
getInstallRoot
public static FilePath getInstallRoot(Node node)
throws IOException,
InterruptedException
- Get a reference to the installed bundle root.
- Throws:
IOException
InterruptedException
Copyright © 2004-2011 Hudson. All Rights Reserved.