Class ProposedGlobalConfigContext


  • public class ProposedGlobalConfigContext
    extends Object
    This context keeps together a bunch of related information needed to turn a raw config into a parsed one.
    Since:
    2.0.0
    Author:
    Michael Nitschinger
    • Constructor Detail

      • ProposedGlobalConfigContext

        public ProposedGlobalConfigContext​(String config,
                                           String origin)
        Creates a new proposed bucket config context.
        Parameters:
        config - the raw config, must not be null.
        origin - the origin of the config, can be null.
    • Method Detail

      • config

        public String config()
      • origin

        public String origin()
        Returns the origin, might be null.
        Returns:
        the origin if set, null otherwise.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object