Class BlueOceanConfigFactory
java.lang.Object
io.jenkins.blueocean.rest.factory.BlueOceanConfigFactory
- All Implemented Interfaces:
ExtensionPoint
Blue Ocean configuration factory which allows different extensions to return configuration values.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<BlueOceanConfigFactory>
all()
abstract BlueOceanConfig
Returns Blue Ocean configurationstatic <T> T
Looks up for an specific config key on the availableBlueOceanConfigFactory
implementations
-
Constructor Details
-
BlueOceanConfigFactory
public BlueOceanConfigFactory()
-
-
Method Details
-
getConfig
Returns Blue Ocean configuration- Returns:
- the current configuration
-
getConfig
Looks up for an specific config key on the availableBlueOceanConfigFactory
implementations- Parameters:
key
- the key to look fortype
- the type of the value- Returns:
- the value for the requested key
-
all
-