public class AnkaPlannedNode
extends hudson.slaves.NodeProvisioner.PlannedNode
Constructor and Description |
---|
AnkaPlannedNode(String displayName,
Future<hudson.model.Node> future,
int numExecutors)
Construct a PlannedNode instance without
Cloud callback for finalization. |
Modifier and Type | Method and Description |
---|---|
static AnkaPlannedNode |
createInstance(AnkaCloudSlaveTemplate template,
AnkaOnDemandSlave slave) |
static AnkaPlannedNode |
createInstance(AnkaCloudSlaveTemplate template,
hudson.model.Label label,
String mgmtUrl) |
public AnkaPlannedNode(String displayName, Future<hudson.model.Node> future, int numExecutors)
Cloud
callback for finalization.displayName
- Used to display this object in the UI.future
- Used to launch a @{link Node} object.numExecutors
- The number of executors that will be provided by the launched Node
.public static AnkaPlannedNode createInstance(AnkaCloudSlaveTemplate template, AnkaOnDemandSlave slave)
public static AnkaPlannedNode createInstance(AnkaCloudSlaveTemplate template, hudson.model.Label label, String mgmtUrl) throws AnkaHostException, IOException
AnkaHostException
IOException
Copyright © 2016–2018. All rights reserved.