Package org.drasyl.plugins
Class PluginEnvironment
- java.lang.Object
-
- org.drasyl.plugins.PluginEnvironment
-
public class PluginEnvironment extends Object
Models environment information of aDrasylPlugin
that are required by the plugin or thePluginManager
to automatically load the plugin.
-
-
Constructor Summary
Constructors Constructor Description PluginEnvironment(com.typesafe.config.ConfigObject options, Class<? extends AutoloadablePlugin> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends AutoloadablePlugin>
getClazz()
com.typesafe.config.ConfigObject
getOptions()
-
-
-
Constructor Detail
-
PluginEnvironment
public PluginEnvironment(com.typesafe.config.ConfigObject options, Class<? extends AutoloadablePlugin> clazz)
-
-
Method Detail
-
getOptions
public com.typesafe.config.ConfigObject getOptions()
- Returns:
- the
ConfigObject
of the corresponding plugin
-
getClazz
public Class<? extends AutoloadablePlugin> getClazz()
- Returns:
- the class of the corresponding plugin
-
-