Enum DataTrackingKeyGen.KeyType
- java.lang.Object
-
- java.lang.Enum<DataTrackingKeyGen.KeyType>
-
- com.broadleafcommerce.data.tracking.core.cache.DataTrackingKeyGen.KeyType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataTrackingKeyGen.KeyType>
- Enclosing class:
- DataTrackingKeyGen
public static enum DataTrackingKeyGen.KeyType extends Enum<DataTrackingKeyGen.KeyType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTrackingKeyGen.KeyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataTrackingKeyGen.KeyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TENANT
public static final DataTrackingKeyGen.KeyType TENANT
-
TENANT_WITH_INSTANT
public static final DataTrackingKeyGen.KeyType TENANT_WITH_INSTANT
-
TENANT_WITH_LOCALE
public static final DataTrackingKeyGen.KeyType TENANT_WITH_LOCALE
-
TENANT_WITH_LOCALE_WITH_INSTANT
public static final DataTrackingKeyGen.KeyType TENANT_WITH_LOCALE_WITH_INSTANT
-
APPLICATION
public static final DataTrackingKeyGen.KeyType APPLICATION
-
APPLICATION_WITH_INSTANT
public static final DataTrackingKeyGen.KeyType APPLICATION_WITH_INSTANT
-
APPLICATION_WITH_LOCALE
public static final DataTrackingKeyGen.KeyType APPLICATION_WITH_LOCALE
-
APPLICATION_WITH_LOCALE_WITH_INSTANT
public static final DataTrackingKeyGen.KeyType APPLICATION_WITH_LOCALE_WITH_INSTANT
-
CATALOG
public static final DataTrackingKeyGen.KeyType CATALOG
-
CATALOG_WITH_INSTANT
public static final DataTrackingKeyGen.KeyType CATALOG_WITH_INSTANT
-
CATALOG_WITH_LOCALE
public static final DataTrackingKeyGen.KeyType CATALOG_WITH_LOCALE
-
CATALOG_WITH_LOCALE_WITH_INSTANT
public static final DataTrackingKeyGen.KeyType CATALOG_WITH_LOCALE_WITH_INSTANT
-
-
Method Detail
-
values
public static DataTrackingKeyGen.KeyType[] 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 (DataTrackingKeyGen.KeyType c : DataTrackingKeyGen.KeyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataTrackingKeyGen.KeyType 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
-
-