Package org.libvirt

Enum Class Connect.OpenFlags

java.lang.Object
java.lang.Enum<Connect.OpenFlags>
org.libvirt.Connect.OpenFlags
All Implemented Interfaces:
Serializable, Comparable<Connect.OpenFlags>, Constable, BitFlags
Enclosing class:
Connect

public static enum Connect.OpenFlags extends Enum<Connect.OpenFlags> implements BitFlags
  • Enum Constant Details

    • READONLY

      public static final Connect.OpenFlags READONLY
      Open a connection in read-only mode
    • NO_ALIASES

      public static final Connect.OpenFlags NO_ALIASES
      Don't try to resolve URI aliases
  • Method Details

    • values

      public static Connect.OpenFlags[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Connect.OpenFlags valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBit

      public int getBit()
      Specified by:
      getBit in interface BitFlags