public enum ContextIdOverwriteBehavior extends Enum<ContextIdOverwriteBehavior>
Trackable
domainEnum Constant and Description |
---|
DEFAULT
No override leave it to the rest of the system (specifically the
CreateSetupDomainMapperMember ) to decide what should be done |
DISABLED
Prevent overwriting any contextId that was passed in
|
OVERWRITE
Always overwrite the given context id
|
Modifier and Type | Method and Description |
---|---|
static ContextIdOverwriteBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextIdOverwriteBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextIdOverwriteBehavior OVERWRITE
public static final ContextIdOverwriteBehavior DISABLED
public static final ContextIdOverwriteBehavior DEFAULT
CreateSetupDomainMapperMember
) to decide what should be done
The system by default will look at
CreateSetupDomainMapperMember.isOverwriteExistingContextIdOnCreate()
and
CreateSetupDomainMapperMember.isAutogenerateContextIdIfUnset()
to determine the
behavior.
public static ContextIdOverwriteBehavior[] values()
for (ContextIdOverwriteBehavior c : ContextIdOverwriteBehavior.values()) System.out.println(c);
public static ContextIdOverwriteBehavior 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 nullCopyright © 2021. All rights reserved.