Class BlueOceanUI

java.lang.Object
io.jenkins.blueocean.BlueOceanUI

public class BlueOceanUI extends Object
Root of Blue Ocean UI
Author:
Kohsuke Kawaguchi
  • Constructor Details Link icon

    • BlueOceanUI Link icon

      public BlueOceanUI()
  • Method Details Link icon

    • getDynamic Link icon

      public Object getDynamic(String route)
      Exposes RootRoutables to the URL space. Returns this if 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
    • getUrlBase Link icon

      public String getUrlBase()
      The base of all BlueOcean URLs (underneath wherever Jenkins itself is deployed).
    • isDevelopmentMode Link icon

      public boolean isDevelopmentMode()
      Have some slightly different behavior in development mode
    • getLang Link icon

      public String getLang()
      Get the language associated with the current page.
      Returns:
      The language string.
    • getCrumbToken Link icon

      public String getCrumbToken()
      Get the crumb token value
      Returns:
      the crumb token value or empty String if no CrumbIssuer
    • getCrumbRequestField Link icon

      public String getCrumbRequestField()
      Get the crumb request field
      Returns:
      the crumb request field or empty String if no CrumbIssuer
    • getPageDecorators Link icon

      public List<BluePageDecorator> getPageDecorators()
    • getNow Link icon

      public long getNow()