Enum PropertiesKeys
- java.lang.Object
-
- java.lang.Enum<PropertiesKeys>
-
- cern.nxcals.api.extraction.metadata.security.PropertiesKeys
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PropertiesKeys>
public enum PropertiesKeys extends java.lang.Enum<PropertiesKeys>
Paths in configuration enclosed in enum.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX_RETRIES
SERVICE_CONNECT_TIMEOUT_CONFIG
SERVICE_READ_TIMEOUT_CONFIG
SERVICE_URL_CONFIG
USER_KEYTAB_PATH_CONFIG
USER_PRINCIPAL_PATH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPathInProperties()
static PropertiesKeys
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PropertiesKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_URL_CONFIG
public static final PropertiesKeys SERVICE_URL_CONFIG
-
SERVICE_CONNECT_TIMEOUT_CONFIG
public static final PropertiesKeys SERVICE_CONNECT_TIMEOUT_CONFIG
-
SERVICE_READ_TIMEOUT_CONFIG
public static final PropertiesKeys SERVICE_READ_TIMEOUT_CONFIG
-
USER_PRINCIPAL_PATH
public static final PropertiesKeys USER_PRINCIPAL_PATH
-
USER_KEYTAB_PATH_CONFIG
public static final PropertiesKeys USER_KEYTAB_PATH_CONFIG
-
MAX_RETRIES
public static final PropertiesKeys MAX_RETRIES
-
-
Method Detail
-
values
public static PropertiesKeys[] 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 (PropertiesKeys c : PropertiesKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertiesKeys valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getPathInProperties
public java.lang.String getPathInProperties()
-
-