public abstract class SlaveInstallerFactory extends Object implements hudson.ExtensionPoint
| Constructor and Description |
|---|
SlaveInstallerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.ExtensionList<SlaveInstallerFactory> |
all()
All the registered
SlaveInstallerFactorys. |
static SlaveInstaller |
createFor(hudson.remoting.Channel c) |
static SlaveInstaller |
createFor(hudson.slaves.SlaveComputer c) |
SlaveInstaller |
createIfApplicable(hudson.remoting.Channel c)
If this factory is capable of creating a
SlaveInstaller for the system
that the other end of the given channel runs in, create one and return a SlaveInstaller. |
SlaveInstaller |
createIfApplicable(hudson.slaves.SlaveComputer c)
If this factory is capable of creating a
SlaveInstaller for the platform
of the given SlaveComputer, create one and return its SlaveInstaller. |
public SlaveInstaller createIfApplicable(hudson.slaves.SlaveComputer c) throws IOException, InterruptedException
SlaveInstaller for the platform
of the given SlaveComputer, create one and return its SlaveInstaller.c - Agent that's online.IOExceptionInterruptedExceptionpublic SlaveInstaller createIfApplicable(hudson.remoting.Channel c) throws IOException, InterruptedException
SlaveInstaller for the system
that the other end of the given channel runs in, create one and return a SlaveInstaller.IOExceptionInterruptedExceptionpublic static SlaveInstaller createFor(hudson.slaves.SlaveComputer c) throws InterruptedException
InterruptedExceptionpublic static SlaveInstaller createFor(hudson.remoting.Channel c) throws InterruptedException
InterruptedExceptionpublic static hudson.ExtensionList<SlaveInstallerFactory> all()
SlaveInstallerFactorys.Copyright © 2016–2017. All rights reserved.