@Extension public static class NodeProvisioner.StandardStrategyImpl extends NodeProvisioner.Strategy
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
StandardStrategyImpl() |
| Modifier and Type | Method and Description |
|---|---|
NodeProvisioner.StrategyDecision |
apply(NodeProvisioner.StrategyState state)
Called by
NodeProvisioner.update() to apply this strategy against the specified state. |
@Nonnull public 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.provisioningLockapply in class NodeProvisioner.Strategystate - the current state.Copyright © 2019. All rights reserved.