@Extension
public class ComputerListenerImpl
extends hudson.slaves.ComputerListener
| Constructor and Description |
|---|
ComputerListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
preLaunch(hudson.model.Computer c,
hudson.model.TaskListener listener) |
void |
preOnline(hudson.model.Computer c,
hudson.remoting.Channel channel,
hudson.FilePath root,
hudson.model.TaskListener listener)
Prepares the slave before it gets online by copying the given content in root and executing the configured setup script.
|
public void preLaunch(hudson.model.Computer c,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
preLaunch in class hudson.slaves.ComputerListenerIOExceptionInterruptedExceptionpublic void preOnline(hudson.model.Computer c,
hudson.remoting.Channel channel,
hudson.FilePath root,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
preOnline in class hudson.slaves.ComputerListenerc - the computer to set upchannel - not usedroot - the root of the slavelistener - log listenerIOExceptionInterruptedExceptionCopyright © 2004-2015. All Rights Reserved.