public abstract static class NodeProvisioner.Strategy extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
Strategy() |
| Modifier and Type | Method and Description |
|---|---|
abstract NodeProvisioner.StrategyDecision |
apply(NodeProvisioner.StrategyState state)
Called by
NodeProvisioner.update() to apply this strategy against the specified state. |
@Nonnull public abstract NodeProvisioner.StrategyDecision apply(@Nonnull NodeProvisioner.StrategyState state)
NodeProvisioner.update() to apply this strategy against the specified state.
Any provisioning activities should be recorded by calling
NodeProvisioner.StrategyState.recordPendingLaunches(java.util.Collection)
This method will be called by a thread that is holding NodeProvisioner.provisioningLockstate - the current state.Copyright © 2019. All rights reserved.