Class PluginEnvironment

java.lang.Object
org.drasyl.node.handler.plugin.PluginEnvironment

public abstract class PluginEnvironment extends Object
Models environment information of a DrasylPlugin that are required by the plugin.
  • Constructor Details

    • PluginEnvironment

      public PluginEnvironment()
  • Method Details

    • getConfig

      public abstract DrasylConfig getConfig()
    • getIdentity

      public abstract Identity getIdentity()
    • getPipeline

      public abstract io.netty.channel.ChannelPipeline getPipeline()
    • of

      public static PluginEnvironment of(DrasylConfig config, Identity identity, io.netty.channel.ChannelPipeline pipeline)