public class NomadWorker extends AbstractCloudSlave implements EphemeralNode
| Modifier and Type | Class and Description |
|---|---|
static class |
NomadWorker.DescriptorImpl |
Slave.JnlpJar, Slave.SlaveDescriptorNode.InternalComputerListener, Node.ModeExtensionPoint.LegacyInstancesAreScopedToHudsonholdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS| Constructor and Description |
|---|
NomadWorker(String name,
String cloudName,
NomadWorkerTemplate template,
String labelString,
NomadRetentionStrategy retentionStrategy,
List<? extends NodeProperty<?>> nodeProperties) |
NomadWorker(String name,
String cloudName,
String remoteFS,
String numExecutors,
Node.Mode mode,
String labelString,
String idleTerminationInMinutes,
boolean reusable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_terminate(TaskListener listener) |
Node |
asNode() |
AbstractCloudComputer<NomadWorker> |
createComputer() |
NomadCloud |
getCloud() |
String |
getCloudName() |
int |
getIdleTerminationInMinutes() |
Boolean |
getReusable() |
terminatecreateLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toStringcanTake, canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputergetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorclone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPermission, hasPermission, hasPermissionpublic NomadWorker(String name, String cloudName, NomadWorkerTemplate template, String labelString, NomadRetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) throws Descriptor.FormException, IOException
Descriptor.FormExceptionIOException@DataBoundConstructor public NomadWorker(String name, String cloudName, String remoteFS, String numExecutors, Node.Mode mode, String labelString, String idleTerminationInMinutes, boolean reusable) throws Descriptor.FormException, IOException
Descriptor.FormExceptionIOExceptionpublic Node asNode()
asNode in interface EphemeralNodepublic AbstractCloudComputer<NomadWorker> createComputer()
createComputer in class AbstractCloudSlaveprotected void _terminate(TaskListener listener)
_terminate in class AbstractCloudSlavepublic NomadCloud getCloud()
public String getCloudName()
public Boolean getReusable()
public int getIdleTerminationInMinutes()
Copyright © 2016–2020. All rights reserved.