public class FolderComputation<I extends TopLevelItem> extends Actionable implements Queue.Executable, Saveable
ComputedFolder
.ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem
Modifier and Type | Field and Description |
---|---|
static 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) |
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public static final AlternativeUiTextProvider.Message<FolderComputation> DISPLAY_NAME
FolderComputation
.protected FolderComputation(@Nonnull ComputedFolder<I> folder, @CheckForNull FolderComputation<I> previous)
public void run()
run
in interface Queue.Executable
run
in interface Runnable
public void save() throws IOException
save
in interface Saveable
IOException
@WithBridgeMethods(value=hudson.model.TaskListener.class) @Nonnull public StreamTaskListener createEventsListener()
public String getDisplayName()
getDisplayName
in interface ModelObject
public String getSearchUrl()
getSearchUrl
in interface SearchItem
@Nonnull public ComputedFolder<I> getParent()
getParent
in interface Queue.Executable
public long getEstimatedDuration()
getEstimatedDuration
in interface Queue.Executable
public boolean isBuilding()
public boolean isLogUpdated()
@Nonnull public AnnotatedLargeText<FolderComputation<I>> getLogText()
@Nonnull public 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
public 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
IOException
javax.servlet.ServletException
@Nonnull public InputStream getLogInputStream() throws IOException
IOException
- if things go wrong@CheckForNull public Result getResult()
@CheckForNull public Result getPreviousResult()
public String getBuildStatusIconClassName()
public String toString()
toString
in interface Queue.Executable
toString
in class Object
Copyright © 2016–2020. All rights reserved.