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.util.StreamTaskListener |
createEventsListener() |
void |
doConsoleText(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Sends out the raw console output.
|
org.kohsuke.stapler.HttpResponse |
doStop()
Stops this build if it's still going.
|
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() |
InputStream |
getLogInputStream()
Returns an input stream that reads from the log file.
|
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, replaceActionpublic 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.SaveableIOException@WithBridgeMethods(value=hudson.model.TaskListener.class) @Nonnull public hudson.util.StreamTaskListener createEventsListener()
@Nonnull protected hudson.XmlFile getDataFile()
public List<hudson.model.Cause> getCauses()
public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectpublic String getSearchUrl()
getSearchUrl in interface hudson.search.SearchItem@Nonnull public ComputedFolder<I> getParent()
getParent in interface hudson.model.Queue.Executablepublic long getEstimatedDuration()
getEstimatedDuration in interface hudson.model.Queue.Executablepublic 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
IOExceptionpublic void writeWholeLogTo(@Nonnull OutputStream out) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void doConsoleText(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
req - the requestrsp - the response.IOException - if things go wrong.public org.kohsuke.stapler.HttpResponse doStop()
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletException@Nonnull public InputStream getLogInputStream() throws IOException
IOException - if things go wrong@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.