@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.provisioningLock
apply
in class NodeProvisioner.Strategy
state
- the current state.Copyright © 2018. All rights reserved.