public class EnricherConfig extends Object
| Constructor and Description |
|---|
EnricherConfig(String name,
EnricherContext context) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(org.eclipse.jkube.kit.common.Configs.Config key)
Get a configuration value
|
String |
get(org.eclipse.jkube.kit.common.Configs.Config key,
String defaultVal)
Get a config value with a default.
|
public EnricherConfig(String name, EnricherContext context)
public String get(org.eclipse.jkube.kit.common.Configs.Config key)
key - key to lookup.public String get(org.eclipse.jkube.kit.common.Configs.Config key, String defaultVal)
key - key part to lookup. The whole key is build up from prefix + "." + key. If key is null,
then only the prefix is used for the lookup (this is suitable for enrichers having only one config option)defaultVal - the default value to use when the no config is setCopyright © 2022. All rights reserved.