public class ForemanSharedNode
extends hudson.slaves.AbstractCloudSlave
implements hudson.slaves.EphemeralNode, org.jenkinsci.plugins.cloudstats.TrackedItem
| Modifier and Type | Class and Description |
|---|---|
static class |
ForemanSharedNode.DescriptorImpl
Slave descriptor.
|
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor| Constructor and Description |
|---|
ForemanSharedNode(org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id id,
String label,
String remoteFS,
hudson.slaves.ComputerLauncher launcher,
hudson.slaves.RetentionStrategy<hudson.slaves.AbstractCloudComputer> strategy,
List<? extends hudson.slaves.NodeProperty<?>> nodeProperties)
Foreman Shared Node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_terminate(hudson.model.TaskListener listener) |
hudson.model.Node |
asNode() |
hudson.model.queue.CauseOfBlockage |
canTake(hudson.model.Queue.BuildableItem item) |
hudson.slaves.AbstractCloudComputer<?> |
createComputer() |
String |
getCloudName() |
org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id |
getId() |
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeName, setRetentionStrategy, setUserId, toStringcanTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, toComputerpublic ForemanSharedNode(org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id id,
String label,
String remoteFS,
hudson.slaves.ComputerLauncher launcher,
hudson.slaves.RetentionStrategy<hudson.slaves.AbstractCloudComputer> strategy,
List<? extends hudson.slaves.NodeProperty<?>> nodeProperties)
throws hudson.model.Descriptor.FormException,
IOException
id - id of the provisioning attempt.label - Jenkins label requested.remoteFS - Remote FS root.launcher - Slave launcher.strategy - Retention Strategy.nodeProperties - node props.hudson.model.Descriptor.FormException - if occurs.IOExceptionpublic hudson.slaves.AbstractCloudComputer<?> createComputer()
createComputer in class hudson.slaves.AbstractCloudSlavepublic hudson.model.queue.CauseOfBlockage canTake(hudson.model.Queue.BuildableItem item)
canTake in class hudson.model.Nodeprotected void _terminate(hudson.model.TaskListener listener)
throws IOException,
InterruptedException
_terminate in class hudson.slaves.AbstractCloudSlaveIOExceptionInterruptedException@CheckForNull public String getCloudName()
public org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()
getId in interface org.jenkinsci.plugins.cloudstats.TrackedItem@Nonnull public hudson.model.Node asNode()
asNode in interface hudson.slaves.EphemeralNodeCopyright © 2016–2017. All rights reserved.