Enum SchemaService.TenantScope
- java.lang.Object
-
- java.lang.Enum<SchemaService.TenantScope>
-
- fr.gouv.vitam.functional.administration.core.schema.SchemaService.TenantScope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SchemaService.TenantScope>
- Enclosing class:
- SchemaService
public static enum SchemaService.TenantScope extends java.lang.Enum<SchemaService.TenantScope>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_TENANTS
CURRENT_TENANT
INCLUDE_ADMIN_TENANT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaService.TenantScope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SchemaService.TenantScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDE_ADMIN_TENANT
public static final SchemaService.TenantScope INCLUDE_ADMIN_TENANT
-
CURRENT_TENANT
public static final SchemaService.TenantScope CURRENT_TENANT
-
ALL_TENANTS
public static final SchemaService.TenantScope ALL_TENANTS
-
-
Method Detail
-
values
public static SchemaService.TenantScope[] 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 (SchemaService.TenantScope c : SchemaService.TenantScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaService.TenantScope 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
-
-