Package io.jenkins.blueocean
Class BlueOceanUI
java.lang.Object
io.jenkins.blueocean.BlueOceanUI
Root of Blue Ocean UI
- Author:
- Kohsuke Kawaguchi
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the crumb request fieldGet the crumb token valuegetDynamic(String route) ExposesRootRoutables to the URL space.getLang()Get the language associated with the current page.longgetNow()The base of all BlueOcean URLs (underneath wherever Jenkins itself is deployed).booleanHave some slightly different behavior in development mode
- 
Constructor Details- 
BlueOceanUIpublic BlueOceanUI()
 
- 
- 
Method Details- 
getDynamicExposesRootRoutables to the URL space. Returnsthisif none found, allowing the UI to resolve routes. This also has the side effect that we won't be able to generate 404s for any URL that *might* resolve to a valid UI route. If and when we implement server-side rendering of initial state or to solidify the routes on the back-end for real 404s, we'll need to complicate this behaviour :D
- 
getUrlBaseThe base of all BlueOcean URLs (underneath wherever Jenkins itself is deployed).
- 
isDevelopmentModepublic boolean isDevelopmentMode()Have some slightly different behavior in development mode
- 
getLangGet the language associated with the current page.- Returns:
- The language string.
 
- 
getCrumbTokenGet the crumb token value- Returns:
- the crumb token value or empty String if no CrumbIssuer
 
- 
getCrumbRequestFieldGet the crumb request field- Returns:
- the crumb request field or empty String if no CrumbIssuer
 
- 
getPageDecorators
- 
getNowpublic long getNow()
 
-