Package org.drasyl.node.handler.plugin
Class PluginEnvironment
java.lang.Object
org.drasyl.node.handler.plugin.PluginEnvironment
Models environment information of a
DrasylPlugin
that are required by the plugin.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract DrasylConfig
abstract Identity
abstract io.netty.channel.ChannelPipeline
static PluginEnvironment
of
(DrasylConfig config, Identity identity, io.netty.channel.ChannelPipeline pipeline)
-
Constructor Details
-
PluginEnvironment
public PluginEnvironment()
-
-
Method Details
-
getConfig
-
getIdentity
-
getPipeline
public abstract io.netty.channel.ChannelPipeline getPipeline() -
of
public static PluginEnvironment of(DrasylConfig config, Identity identity, io.netty.channel.ChannelPipeline pipeline)
-