Class Partition

    • Method Detail

      • fromNode

        public static Partition fromNode​(Node node)
        Creates a Partition instance from the given Node information.
        Parameters:
        node - the node to deserialize.
        Returns:
        the created Partition.
      • getId

        public java.lang.String getId()
        Gets the ID of the partition.
        Returns:
        returns the partition's ID.
      • getRegionRegex

        public java.lang.String getRegionRegex()
        Gets the regular expression to match regions in this partition.
        Returns:
        returns the regular expression to match regions in this partition.
      • getRegions

        public java.util.Map<java.lang.String,​RegionOverride> getRegions()
        Gets this partition's map of region names to region-specific overriding data.
        Returns:
        returns a map of region names to region-specific overriding data.
      • getOutputs

        public PartitionOutputs getOutputs()
        Gets the supported configuration output for this partition.
        Returns:
        returns the partition's configuration outputs.
      • toNode

        public Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Specified by:
        toNode in interface ToNode
        Returns:
        Returns the creates Node.
      • 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