public static interface TinyPlugzConfigurator.DefineProperties extends TinyPlugzConfigurator.DeployTinyPlugz
createInstanceTinyPlugzConfigurator.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(PluginSource, ClassLoader, Map) .name - Name of the property.value - Value of the property.TinyPlugzConfigurator.DefineProperties withProperty(String name)
name - Name of the property.TinyPlugzConfigurator.DefineProperties withSystemProperties()
system properties available
in the map passed to
TinyPlugz.initialize(PluginSource, ClassLoader, Map).TinyPlugzConfigurator.DefineProperties withProperties(Map<? extends Object,? extends Object> values)
TinyPlugz.initialize(PluginSource, ClassLoader, Map) .values - Mappings to add.TinyPlugzConfigurator.DeployTinyPlugz withPlugins(Consumer<PluginSourceBuilder> source)
PluginSourceBuilder via the given consumer for
adding plugins which should be deployed.source - Consumer for modifying a PluginSourcce.TinyPlugzConfigurator.DeployTinyPlugz withPlugins(PluginSource source)
source - The plugins.TinyPlugz deploy()
TinyPlugz instance using the configured
values. The configured instance will be globally accessible using
TinyPlugz.getInstance().
When calling this method, only plugins from the folder specified
using the option Options.PLUGIN_FOLDER will be loaded. If
this option is not specified, TinyPlugz will be deployed without any
plugins.
deploy in interface TinyPlugzConfigurator.DeployTinyPlugzCopyright © 2014–2015. All rights reserved.