Package org.opennms.plugins.cloud.config
Enum ConfigStore.Key
- java.lang.Object
-
- java.lang.Enum<ConfigStore.Key>
-
- org.opennms.plugins.cloud.config.ConfigStore.Key
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConfigStore.Key>
- Enclosing interface:
- ConfigStore
public static enum ConfigStore.Key extends java.lang.Enum<ConfigStore.Key>
All enums must be lower case. Otherwise scv won't save them correctly.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description activeservicesconfigstatusDefines if plugin was already configured via ConfigurationManager.grpchostgrpcportprivatekeypublickeytokenkeytokenvaluetruststore
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigStore.KeyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConfigStore.Key[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
truststore
public static final ConfigStore.Key truststore
-
publickey
public static final ConfigStore.Key publickey
-
privatekey
public static final ConfigStore.Key privatekey
-
tokenkey
public static final ConfigStore.Key tokenkey
-
tokenvalue
public static final ConfigStore.Key tokenvalue
-
grpchost
public static final ConfigStore.Key grpchost
-
grpcport
public static final ConfigStore.Key grpcport
-
activeservices
public static final ConfigStore.Key activeservices
-
configstatus
public static final ConfigStore.Key configstatus
Defines if plugin was already configured via ConfigurationManager. See ConfigurationManager.ConfigStatus
-
-
Method Detail
-
values
public static ConfigStore.Key[] 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 (ConfigStore.Key c : ConfigStore.Key.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigStore.Key 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
-
-