Enum MultiTenancyStrategyName
- java.lang.Object
-
- java.lang.Enum<MultiTenancyStrategyName>
-
- org.hibernate.search.backend.lucene.multitenancy.MultiTenancyStrategyName
-
- All Implemented Interfaces:
Serializable
,Comparable<MultiTenancyStrategyName>
public enum MultiTenancyStrategyName extends Enum<MultiTenancyStrategyName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCRIMINATOR
The multi-tenancy information is stored in the index as a discriminator field.NONE
Single tenant configuration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiTenancyStrategyName
of(String value)
static MultiTenancyStrategyName
valueOf(String name)
Returns the enum constant of this type with the specified name.static MultiTenancyStrategyName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final MultiTenancyStrategyName NONE
Single tenant configuration.
-
DISCRIMINATOR
public static final MultiTenancyStrategyName DISCRIMINATOR
The multi-tenancy information is stored in the index as a discriminator field.
-
-
Method Detail
-
values
public static MultiTenancyStrategyName[] 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 (MultiTenancyStrategyName c : MultiTenancyStrategyName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultiTenancyStrategyName 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
-
of
public static MultiTenancyStrategyName of(String value)
-
-