public abstract class UninstallStep extends AbstractStep
id, logger| Constructor and Description |
|---|
UninstallStep(java.lang.String name,
Status status) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getErrors()
Returns a list of user-visible descriptive error messages associated with this Element.
|
java.util.Optional<PodInstanceRequirement> |
getPodInstanceRequirement()
Return the pod instance that this Step intends to work on.
|
void |
update(Protos.TaskStatus status)
Provides the Element with a recent
TaskStatus update which was received from Mesos. |
void |
updateOfferStatus(java.util.Collection<OfferRecommendation> recommendations)
Notifies the Step whether the
PodInstanceRequirement previously returned by
Step.start() has been successfully accepted/fulfilled. |
equals, forceComplete, getId, getName, getStatus, hashCode, interrupt, isInterrupted, proceed, restart, setStatus, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDisplayStatus, getMessage, isAssetDirty, isEligible, starthasErrors, isComplete, isPending, isPrepared, isRunning, isStarted, isStarting, updateParameterspublic UninstallStep(java.lang.String name,
Status status)
public java.util.Optional<PodInstanceRequirement> getPodInstanceRequirement()
Steppublic void updateOfferStatus(java.util.Collection<OfferRecommendation> recommendations)
StepPodInstanceRequirement previously returned by
Step.start() has been successfully accepted/fulfilled. The recommendations param is
empty when no offers matching the requirement previously returned by Step.start()
could be found. This is only called if Step.start() returned a non-empty
PodInstanceRequirement.public java.util.List<java.lang.String> getErrors()
Elementpublic void update(Protos.TaskStatus status)
ElementTaskStatus update which was received from Mesos.