Package org.apache.kafka.clients.admin
Enum ConfigEntry.ConfigType
- java.lang.Object
-
- java.lang.Enum<ConfigEntry.ConfigType>
-
- org.apache.kafka.clients.admin.ConfigEntry.ConfigType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigEntry.ConfigType>
- Enclosing class:
- ConfigEntry
public static enum ConfigEntry.ConfigType extends Enum<ConfigEntry.ConfigType>
Data type of configuration entry.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigEntry.ConfigType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigEntry.ConfigType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ConfigEntry.ConfigType UNKNOWN
-
BOOLEAN
public static final ConfigEntry.ConfigType BOOLEAN
-
STRING
public static final ConfigEntry.ConfigType STRING
-
INT
public static final ConfigEntry.ConfigType INT
-
SHORT
public static final ConfigEntry.ConfigType SHORT
-
LONG
public static final ConfigEntry.ConfigType LONG
-
DOUBLE
public static final ConfigEntry.ConfigType DOUBLE
-
LIST
public static final ConfigEntry.ConfigType LIST
-
CLASS
public static final ConfigEntry.ConfigType CLASS
-
PASSWORD
public static final ConfigEntry.ConfigType PASSWORD
-
-
Method Detail
-
values
public static ConfigEntry.ConfigType[] 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 (ConfigEntry.ConfigType c : ConfigEntry.ConfigType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigEntry.ConfigType 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 nameNullPointerException
- if the argument is null
-
-