public class BlueOceanUI extends Object
| Constructor and Description |
|---|
BlueOceanUI(String rootPath) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDynamic(String route)
Exposes
RootRoutables to the URL space. |
List<BluePageDecorator> |
getPageDecorators() |
String |
getUrlBase()
The base of all BlueOcean URLs (underneath wherever Jenkins itself is deployed).
|
public BlueOceanUI(String rootPath)
public Object getDynamic(String route)
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 :Dpublic String getUrlBase()
public List<BluePageDecorator> getPageDecorators()
Copyright © 2016. All rights reserved.