Package org.libvirt

Enum Class ConnectAuth.CredentialType

java.lang.Object
java.lang.Enum<ConnectAuth.CredentialType>
org.libvirt.ConnectAuth.CredentialType
All Implemented Interfaces:
Serializable, Comparable<ConnectAuth.CredentialType>, Constable
Enclosing class:
ConnectAuth

public static enum ConnectAuth.CredentialType extends Enum<ConnectAuth.CredentialType>
Author:
stoty
  • Enum Constant Details

  • Method Details

    • values

      public static ConnectAuth.CredentialType[] 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 ConnectAuth.CredentialType 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
    • mapToInt

      public int mapToInt()
      Maps the java CredentialType Enum to libvirt's integer constant
      Returns:
      The integer equivalent
    • mapFromInt

      public static ConnectAuth.CredentialType mapFromInt(int t)