public enum RegistrationBehavior extends Enum<RegistrationBehavior>
| Enum Constant and Description | 
|---|
ALWAYS
Specifies that registration must always occur. 
 | 
FAIL
Specifies that registration should fail (by raising an exception) if
 the identified artifact is already registered. 
 | 
IGNORE
Specifies that registration should be ignored and skipped (without
 raising an error or exception) if the artifact to be registered is
 already known. 
 | 
REPLACE
Specifies that registration should replace an existing identified
 artifact with that of which was specified. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static RegistrationBehavior | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RegistrationBehavior[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final RegistrationBehavior IGNORE
public static final RegistrationBehavior REPLACE
public static final RegistrationBehavior FAIL
public static final RegistrationBehavior ALWAYS
public static RegistrationBehavior[] values()
for (RegistrationBehavior c : RegistrationBehavior.values()) System.out.println(c);
public static RegistrationBehavior valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null