public class TaskKillStep extends UninstallStep
id, logger| Constructor and Description |
|---|
TaskKillStep(Protos.TaskID taskID,
TaskKiller taskKiller) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<PodInstanceRequirement> |
start()
Starts the Step, whose
Status should be Status.PENDING. |
getErrors, getPodInstanceRequirement, update, updateOfferStatusequals, forceComplete, getId, getName, getStatus, hashCode, interrupt, isInterrupted, proceed, restart, setStatus, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDisplayStatus, getMessage, isAssetDirty, isEligiblehasErrors, isComplete, isPending, isPrepared, isRunning, isStarted, isStarting, updateParameterspublic TaskKillStep(Protos.TaskID taskID,
TaskKiller taskKiller)
public java.util.Optional<PodInstanceRequirement> start()
StepStatus should be Status.PENDING. Returns an
PodInstanceRequirement, or an empty Optional if obtaining/updating resource requirements are not
applicable to the Step. This will continue to be called for as long as Element.isPending() returns
true.#updateOfferStatus(Collection)} which returns the outcome of
the {@link PodInstanceRequirement}