@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class BlueOceanWebURLBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
toBlueOceanURL()
Construct a Blue Ocean web URL for the Jenkins
ModelObject
associated with the current Stapler request. |
static String |
toBlueOceanURL(hudson.model.ModelObject classicModelObject)
Construct a Blue Ocean web URL for the supplied Jenkins
ModelObject. |
@Nonnull public static String toBlueOceanURL()
ModelObject
associated with the current Stapler request.@CheckForNull public static String toBlueOceanURL(@Nonnull hudson.model.ModelObject classicModelObject)
ModelObject.classicModelObject - The class Jenkins Model Object from which to construct
a Blue Ocean URL.ModelObject, or null if no URL can be constructed.Copyright © 2016–2017. All rights reserved.