public final class PhaseExecution extends Object implements hudson.model.ModelObject
NodeProvisioner.PlannedNode.future
. To avoid any problems this can cause,
the execution of phases is expected to occur in order, the execution will accept attachments regardless if the
next phase started or not. For the time tracking purposes, the phase is considered completed as soon as the next
phase begins. IOW, despite the fact the slave already started launching, plugin can still append provisioning log.Modifier and Type | Method and Description |
---|---|
PhaseExecutionAttachment |
getAttachment(String urlName) |
List<PhaseExecutionAttachment> |
getAttachments() |
<T extends PhaseExecutionAttachment> |
getAttachments(Class<T> type) |
String |
getDisplayName() |
ProvisioningActivity.Phase |
getPhase() |
Date |
getStarted() |
long |
getStartedTimestamp() |
ProvisioningActivity.Status |
getStatus() |
String |
getUrlName(PhaseExecutionAttachment attachment) |
@Nonnull public List<PhaseExecutionAttachment> getAttachments()
@Nonnull public <T extends PhaseExecutionAttachment> List<T> getAttachments(@Nonnull Class<T> type)
@Nonnull public ProvisioningActivity.Status getStatus()
public long getStartedTimestamp()
@Nonnull public ProvisioningActivity.Phase getPhase()
@Nonnull public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @CheckForNull public String getUrlName(@Nonnull PhaseExecutionAttachment attachment)
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public PhaseExecutionAttachment getAttachment(String urlName)
Copyright © 2016–2019. All rights reserved.