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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<BlueOceanConfigFactory> all()abstract BlueOceanConfigReturns Blue Ocean configurationstatic <T> TLooks up for an specific config key on the availableBlueOceanConfigFactoryimplementations
-
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 availableBlueOceanConfigFactoryimplementations- Parameters:
key- the key to look fortype- the type of the value- Returns:
- the value for the requested key
-
all
-