Class BlueOceanConfigFactory

  • All Implemented Interfaces:
    ExtensionPoint

    public abstract class BlueOceanConfigFactory
    extends Object
    implements ExtensionPoint
    Blue Ocean configuration factory which allows different extensions to return configuration values.
    • Constructor Detail

      • BlueOceanConfigFactory

        public BlueOceanConfigFactory()
    • Method Detail

      • getConfig

        @NonNull
        public abstract BlueOceanConfig getConfig()
        Returns Blue Ocean configuration
        Returns:
        the current configuration
      • getConfig

        @CheckForNull
        public static <T> T getConfig​(String key,
                                      Class<T> type)
        Looks up for an specific config key on the available BlueOceanConfigFactory implementations
        Parameters:
        key - the key to look for
        type - the type of the value
        Returns:
        the value for the requested key