Class ChainDefinition.PluginConfiguration

  • Enclosing class:
    ChainDefinition

    public static class ChainDefinition.PluginConfiguration
    extends java.lang.Object
    The name and configuration of a single plug-in in a chain definition.
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginConfiguration​(java.lang.String pluginName, java.util.Map<java.lang.String,​java.lang.Object> configuration)
      Creates a PluginConfiguration instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getConfiguration()  
      java.lang.String getPluginName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PluginConfiguration

        public PluginConfiguration​(java.lang.String pluginName,
                                   java.util.Map<java.lang.String,​java.lang.Object> configuration)
        Creates a PluginConfiguration instance.
        Parameters:
        pluginName - not null.
        configuration - null is treated as empty.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPluginName

        public java.lang.String getPluginName()
        Returns:
        the name of the plug-in.
      • getConfiguration

        public java.util.Map<java.lang.String,​java.lang.Object> getConfiguration()
        Returns:
        The configuration for this plug-in. This is a reference not a copy, so changes made to the return value will affect this object.