Enum DiskStatus

    • Enum Constant Detail

      • ILLEGAL

        public static final DiskStatus ILLEGAL
        Disk cannot be accessed by the virtual machine, and the user needs to take action to resolve the issue.
      • LOCKED

        public static final DiskStatus LOCKED
        The disk is being used by the system, therefore it cannot be accessed by virtual machines at this point. This is usually a temporary status, until the disk is freed.
      • OK

        public static final DiskStatus OK
        The disk status is normal and can be accessed by the virtual machine.
    • Method Detail

      • values

        public static DiskStatus[] 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 (DiskStatus c : DiskStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DiskStatus 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()