public static enum RepositoryAdminService.NamePolicy extends java.lang.Enum<RepositoryAdminService.NamePolicy>
RepositoryData.name
) already exists. Note that the 'name'
attribute is treated as an internal repository key and normally is not exposed in UI to end-users.Enum Constant and Description |
---|
AUTO_RENAME |
FAIL_ON_DUPLICATE |
Modifier and Type | Method and Description |
---|---|
static RepositoryAdminService.NamePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryAdminService.NamePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryAdminService.NamePolicy FAIL_ON_DUPLICATE
public static final RepositoryAdminService.NamePolicy AUTO_RENAME
public static RepositoryAdminService.NamePolicy[] values()
for (RepositoryAdminService.NamePolicy c : RepositoryAdminService.NamePolicy.values()) System.out.println(c);
public static RepositoryAdminService.NamePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null