Enum CatalogFinder.TenantState
- java.lang.Object
-
- java.lang.Enum<CatalogFinder.TenantState>
-
- com.broadleafcommerce.data.tracking.core.policy.trackable.CatalogFinder.TenantState
-
- All Implemented Interfaces:
Serializable
,Comparable<CatalogFinder.TenantState>
- Enclosing class:
- CatalogFinder<P extends Catalog>
public static enum CatalogFinder.TenantState extends Enum<CatalogFinder.TenantState>
Indicates if tenant related functionality is active
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLE
Tenancy is activeNOT_AVAILABLE
Tenancy is not active
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CatalogFinder.TenantState
valueOf(String name)
Returns the enum constant of this type with the specified name.static CatalogFinder.TenantState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final CatalogFinder.TenantState AVAILABLE
Tenancy is active
-
NOT_AVAILABLE
public static final CatalogFinder.TenantState NOT_AVAILABLE
Tenancy is not active
-
-
Method Detail
-
values
public static CatalogFinder.TenantState[] 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 (CatalogFinder.TenantState c : CatalogFinder.TenantState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CatalogFinder.TenantState 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
-
-