Class PseudoRun<I extends TopLevelItem>
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
com.cloudbees.hudson.plugins.folder.computed.PseudoRun<I>
- All Implemented Interfaces:
ModelObject,SearchableModelObject,SearchItem,ModelObjectWithContextMenu,org.kohsuke.stapler.StaplerFallback
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class PseudoRun<I extends TopLevelItem>
extends Actionable
implements org.kohsuke.stapler.StaplerFallback
A fake
Run used to render last build information via Stapler and Jelly-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Method Summary
Modifier and TypeMethodDescriptiondecompose(org.kohsuke.stapler.StaplerRequest2 req) org.kohsuke.stapler.HttpResponsedoConsole(org.kohsuke.stapler.StaplerRequest2 request) org.kohsuke.stapler.HttpResponsedoConsoleText(org.kohsuke.stapler.StaplerRequest2 request) org.kohsuke.stapler.HttpResponsedoIndex(org.kohsuke.stapler.StaplerRequest2 request) Gets the string that says how long since this build has started.Returns the timestamp formatted in xs:dateTime.Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.search.SearchItem
getSearchGroup, getSearchIcon
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein interfaceModelObject
-
decompose
-
getTimestampString
Gets the string that says how long since this build has started.- Returns:
- string like "3 minutes" "1 day" etc.
-
getTimestampString2
Returns the timestamp formatted in xs:dateTime.- Returns:
- the timestamp formatted in xs:dateTime.
-
getResult
-
getTimestamp
-
getDurationString
-
getSearchUrl
- Specified by:
getSearchUrlin interfaceSearchItem
-
getLogFile
-
getStaplerFallback
- Specified by:
getStaplerFallbackin interfaceorg.kohsuke.stapler.StaplerFallback
-
doIndex
public org.kohsuke.stapler.HttpResponse doIndex(org.kohsuke.stapler.StaplerRequest2 request) -
doConsole
public org.kohsuke.stapler.HttpResponse doConsole(org.kohsuke.stapler.StaplerRequest2 request) -
doConsoleText
public org.kohsuke.stapler.HttpResponse doConsoleText(org.kohsuke.stapler.StaplerRequest2 request)
-