public static class RetentionStrategy.Always extends RetentionStrategy<SlaveComputer>
RetentionStrategy that tries to keep the node online all the time.| Modifier and Type | Class and Description |
|---|---|
static class |
RetentionStrategy.Always.DescriptorImpl |
RetentionStrategy.Always, RetentionStrategy.DemandExtensionPoint.LegacyInstancesAreScopedToHudsonINSTANCE, LIST, NOOP| Constructor and Description |
|---|
Always()
Constructs a new Always.
|
| Modifier and Type | Method and Description |
|---|---|
long |
check(SlaveComputer c)
This method will be called periodically to allow this strategy to decide what to do with it's owning slave.
|
all, isAcceptingTasks, isManualLaunchAllowed, startgetDescriptorpublic long check(SlaveComputer c)
RetentionStrategycheck in class RetentionStrategy<SlaveComputer>c - Computer for which this strategy is assigned. This computer may be online or offline.
This object also exposes a bunch of properties that the callee can use to decide what action to take.Copyright © 2019. All rights reserved.