public class FolderComputation<I extends hudson.model.TopLevelItem>
extends hudson.model.Actionable
implements hudson.model.Queue.Executable, hudson.model.Saveable
ComputedFolder
.Modifier and Type | Field and Description |
---|---|
static hudson.util.AlternativeUiTextProvider.Message<FolderComputation> |
DISPLAY_NAME
Allow other code to override the display name for
FolderComputation . |
Modifier | Constructor and Description |
---|---|
protected |
FolderComputation(ComputedFolder<I> folder,
FolderComputation<I> previous) |
Modifier and Type | Method and Description |
---|---|
hudson.model.TaskListener |
createEventsListener() |
String |
getBuildStatusIconClassName() |
List<hudson.model.Cause> |
getCauses() |
protected hudson.XmlFile |
getDataFile() |
String |
getDisplayName() |
String |
getDurationString() |
long |
getEstimatedDuration() |
File |
getEventsFile() |
hudson.console.AnnotatedLargeText<FolderComputation<I>> |
getEventsText() |
hudson.model.BallColor |
getIconColor() |
File |
getLogFile() |
hudson.console.AnnotatedLargeText<FolderComputation<I>> |
getLogText() |
ComputedFolder<I> |
getParent() |
hudson.model.Result |
getPreviousResult() |
hudson.model.Result |
getResult() |
String |
getSearchUrl() |
Calendar |
getTimestamp() |
String |
getUrl() |
boolean |
isBuilding() |
boolean |
isLogUpdated() |
void |
run() |
void |
save() |
String |
toString() |
void |
writeLogTo(long offset,
org.apache.commons.jelly.XMLOutput out) |
void |
writeWholeLogTo(OutputStream out) |
addAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, replaceAction
public static final hudson.util.AlternativeUiTextProvider.Message<FolderComputation> DISPLAY_NAME
FolderComputation
.protected FolderComputation(@Nonnull ComputedFolder<I> folder, @CheckForNull FolderComputation<I> previous)
public void run()
public void save() throws IOException
save
in interface hudson.model.Saveable
IOException
public hudson.model.TaskListener createEventsListener() throws IOException
IOException
@Nonnull protected hudson.XmlFile getDataFile()
public List<hudson.model.Cause> getCauses()
public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
public String getSearchUrl()
getSearchUrl
in interface hudson.search.SearchItem
@Nonnull public ComputedFolder<I> getParent()
getParent
in interface hudson.model.Queue.Executable
public long getEstimatedDuration()
getEstimatedDuration
in interface hudson.model.Queue.Executable
public boolean isBuilding()
public boolean isLogUpdated()
@Nonnull public hudson.console.AnnotatedLargeText<FolderComputation<I>> getLogText()
@Nonnull public hudson.console.AnnotatedLargeText<FolderComputation<I>> getEventsText()
public void writeLogTo(long offset, org.apache.commons.jelly.XMLOutput out) throws IOException
IOException
public void writeWholeLogTo(@Nonnull OutputStream out) throws IOException, InterruptedException
IOException
InterruptedException
@CheckForNull public hudson.model.Result getResult()
@CheckForNull public hudson.model.Result getPreviousResult()
@Nonnull public hudson.model.BallColor getIconColor()
public String getBuildStatusIconClassName()
Copyright © 2016–2017. All rights reserved.