Class Partitions

    • Method Detail

      • fromNode

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

        public java.lang.String getVersion()
        Gets the version of the partitions file.
        Returns:
        returns the version of the partitions file.
      • getPartitions

        public java.util.List<Partition> getPartitions()
        Gets the list of loaded partitions.
        Returns:
        returns the list of partitions.
      • 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
      • toString

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