public static interface TinyPlugzConfigurator.DefineProperties
| Modifier and Type | Method and Description |
|---|---|
TinyPlugzConfigurator.DefineProperties |
withClasspathProperties()
Adds properties read from file from the
class path.
|
TinyPlugzConfigurator.DefineProperties |
withClasspathProperties(String resourceName)
Adds properties read from the class path using the given resource
name.
|
TinyPlugzConfigurator.DeployTinyPlugz |
withPlugins(Consumer<PluginSource> source)
Provides the
PluginSource via the given consumer for adding
plugins which should be deployed. |
TinyPlugzConfigurator.DefineProperties |
withProperties(Map<? extends Object,? extends Object> values)
Specifies a multiple properties to insert into the map which will be
passed to
TinyPlugz.initialize(java.util.Collection, ClassLoader, Map)
. |
TinyPlugzConfigurator.DefineProperties |
withProperty(String name)
Specifies a property without value.
|
TinyPlugzConfigurator.DefineProperties |
withProperty(String name,
Object value)
Specifies a single property to insert into the map which will be
passed to
TinyPlugz.initialize(java.util.Collection, ClassLoader, Map)
. |
TinyPlugzConfigurator.DefineProperties withClasspathProperties()
IllegalStateException - If the file can not be found.TinyPlugzConfigurator.DefineProperties withClasspathProperties(String resourceName)
resourceName - Name of the properties file resource.IllegalStateException - If the file can not be found.TinyPlugzConfigurator.DefineProperties withProperty(String name, Object value)
TinyPlugz.initialize(java.util.Collection, ClassLoader, Map)
.name - Name of the property.value - Value of the property.TinyPlugzConfigurator.DefineProperties withProperty(String name)
name - Name of the property.TinyPlugzConfigurator.DefineProperties withProperties(Map<? extends Object,? extends Object> values)
TinyPlugz.initialize(java.util.Collection, ClassLoader, Map)
.values - Mappings to add.TinyPlugzConfigurator.DeployTinyPlugz withPlugins(Consumer<PluginSource> source)
PluginSource via the given consumer for adding
plugins which should be deployed.source - Consumer for modifying a PluginSourcce.Copyright © 2014–2015. All rights reserved.