public class DeployNowSlave extends Slave implements EphemeralNode
DeployNowTask
s on the master, even when the master does not have any executors.Modifier and Type | Class and Description |
---|---|
static class |
DeployNowSlave.DescriptorImpl |
static class |
DeployNowSlave.NodePropertyImpl |
Slave.JnlpJar, Slave.SlaveDescriptor
Node.InternalComputerListener, Node.Mode
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static String |
NODE_LABEL_STRING |
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS
Constructor and Description |
---|
DeployNowSlave() |
Modifier and Type | Method and Description |
---|---|
Node |
asNode() |
Computer |
createComputer() |
Launcher |
createLauncher(TaskListener listener) |
static DeployNowSlave |
ensurePresent() |
Set<LabelAtom> |
getAssignedLabels() |
ClockDifference |
getClockDifference() |
FilePath |
getRootPath() |
FilePath |
getWorkspaceFor(TopLevelItem item) |
equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getUserId, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toString
canTake, canTake, createPath, getACL, getChannel, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputer
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission
public static final String NODE_LABEL_STRING
public DeployNowSlave() throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
@Exported public Set<LabelAtom> getAssignedLabels()
getAssignedLabels
in class Node
public Launcher createLauncher(TaskListener listener)
createLauncher
in class Slave
public Computer createComputer()
createComputer
in class Slave
public FilePath getWorkspaceFor(TopLevelItem item)
getWorkspaceFor
in class Slave
public FilePath getRootPath()
getRootPath
in class Slave
public ClockDifference getClockDifference() throws IOException, InterruptedException
getClockDifference
in class Node
IOException
InterruptedException
public static DeployNowSlave ensurePresent()
public Node asNode()
asNode
in interface EphemeralNode
Copyright © 2016–2022. All rights reserved.