/** * Declares a configuration variable for the given config path and given name. * * @param configPath a dot-separated "path" that navigates through the configuration tree to the property that * should be bound form a variable. E.g. "jdbc.myds.password". * @param name public name of the variable. * @return this extender instance. */ public BQCoreModuleExtender declareVar(String configPath, String name) { return declareVar(configPath, name, null); }
/** Declare an environment variable which is linked to the given Bootique variable, and has its name defined * from the name of the Bootique variable. * * @param bootiqueVariable the name of the bootique variable. * @return the Bootique extender. */ public VariableDecls declareVar(String bootiqueVariable) { this.extender.declareVar(bootiqueVariable, VariableNames.toEnvironmentVariableName(bootiqueVariable)); return this; }