public BQCoreModuleExtender setProperty(String name, String value) { contributeProperties().addBinding(name).toInstance(value); return this; }
@Override public BQCoreModuleExtender initAllExtensions() { contributeConfigs(); contributeProperties(); contributeVariables(); contributeVariableDeclarations(); contributeLogLevels(); contributeOptions(); contributeCommands(); contributeCommandDecorators(); contributeOptionDecorators(); contributeValueObjectsDescriptors(); contributeOptionPathDecorators(); return this; }
public BQCoreModuleExtender setProperty(String name, String value) { contributeProperties().addBinding(name).toInstance(value); return this; }
/** * @param binder DI binder passed to the Module that invokes this method. * @return {@link MapBinder} for Bootique properties. * @see EnvironmentProperties * @since 0.12 * @deprecated since 0.22 use {@link #extend(Binder)} to get an extender object, and * then call {@link BQCoreModuleExtender#setProperty(String, String)}. */ @Deprecated public static MapBinder<String, String> contributeProperties(Binder binder) { return extend(binder).contributeProperties(); }
@Override public BQCoreModuleExtender initAllExtensions() { contributeConfigs(); contributeProperties(); contributeVariables(); contributeVariableDeclarations(); contributeLogLevels(); contributeOptions(); contributeCommands(); contributeCommandDecorators(); contributeOptionDecorators(); return this; }