Package hudson
Class Functions.RunUrl
java.lang.Object
hudson.Functions.RunUrl
- Enclosing class:
Functions
URL decomposed for easier computation of relevant URLs.
The decomposed URL will be of the form:
aaaaaa/524/bbbbb/cccc -head-| N |---rest--- ----- base -----|
The head portion is the part of the URL from the Jenkins
object to the first Run subtype. When "next/prev build"
is chosen, this part remains intact.
The 524 is the path from Job to Run.
The bbb portion is the path after that till the last
Run subtype. The ccc portion is the part
after that.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the same page in the next build.Returns the same page in the previous build.getRest()getRun()getSameTabUrl(Run<?, ?> other) Returns the URL of another run, relative to the context path, on theTabthe current page shows when that run has the same tab, and the run's own page otherwise.
-
Constructor Details
-
RunUrl
-
-
Method Details
-
getBaseUrl
-
getRun
-
getRest
-
getNextBuildUrl
Returns the same page in the next build. -
getPreviousBuildUrl
Returns the same page in the previous build. -
getSameTabUrl
Returns the URL of another run, relative to the context path, on theTabthe current page shows when that run has the same tab, and the run's own page otherwise. Links between related runs, such as to an upstream build, then keep the user on the view they are using.- Parameters:
other- the run to link to- Returns:
- a URL relative to the context path, without a leading slash
- Since:
- TODO
-