Enum GlusterVolumeStatus

    • Enum Constant Detail

      • DOWN

        public static final GlusterVolumeStatus DOWN
        Volume needs to be started, for clients to be able to mount and use it.
      • UNKNOWN

        public static final GlusterVolumeStatus UNKNOWN
        When the status cannot be determined due to host being non-responsive.
      • UP

        public static final GlusterVolumeStatus UP
        Volume is started, and can be mounted and used by clients.
    • Method Detail

      • values

        public static GlusterVolumeStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GlusterVolumeStatus c : GlusterVolumeStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GlusterVolumeStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()