public class DeregisterStep extends UninstallStep
id, logger
Constructor and Description |
---|
DeregisterStep(StateStore stateStore,
SchedulerDriver driver)
Creates a new instance with initial
status . |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<PodInstanceRequirement> |
start()
Starts the Step, whose
Status should be Status.PENDING . |
getErrors, getPodInstanceRequirement, update, updateOfferStatus
equals, forceComplete, getId, getName, getStatus, hashCode, interrupt, isInterrupted, proceed, restart, setStatus, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDisplayStatus, getMessage, isAssetDirty, isEligible
hasErrors, isComplete, isPending, isPrepared, isRunning, isStarted, isStarting, updateParameters
DeregisterStep(StateStore stateStore, SchedulerDriver driver)
status
. The SchedulerDriver
must be
set separately.public java.util.Optional<PodInstanceRequirement> start()
Step
Status
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}