Class ConfigNodeContainer


  • public final class ConfigNodeContainer
    extends java.lang.Object
    Holds a config node and the UUID related to the source.
    • Constructor Detail

      • ConfigNodeContainer

        public ConfigNodeContainer​(ConfigNode configNode,
                                   ConfigSource source)
        Constructor to hold a ConfigNode and a id.
        Parameters:
        configNode - node to hold
        source - the source of the configs
    • Method Detail

      • getConfigNode

        public ConfigNode getConfigNode()
        Return the config node.
        Returns:
        config node
      • getSource

        public ConfigSource getSource()
        unique ID for the config node related to the source.
        Returns:
        unique ID for the config node related to the source
      • getTags

        public Tags getTags()
        Get all tags associated with a node.
        Returns:
        Tags
      • matchesTags

        public boolean matchesTags​(Tags match)
        returns true if the tags for the Config Node match the input.
        Parameters:
        match - tokens to match
        Returns:
        true if the tags for the Config Node match the input
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object