public enum DataRetentionStart extends java.lang.Enum<DataRetentionStart>
| Enum Constant and Description |
|---|
BUSINESS_YEAR_END
Indicates the end of the business year as the starting point.
|
CALENDAR_YEAR_END
Indicates the end of the calendar year as the starting point.
|
CUSTOM
Indicates a custom starting point.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,DataRetentionStart> |
VALUE_MAP
An immutable map of data retention start value names (in lowercase) to their corresponding
DataRetentionStart enum values. |
| Modifier and Type | Method and Description |
|---|---|
static DataRetentionStart |
fromValue(java.lang.String value)
Returns the
DataRetentionStart associated with the given string representation,
or null if no matching value is found. |
java.lang.String |
getValue()
Returns the string representation of the retention start value.
|
static DataRetentionStart |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataRetentionStart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataRetentionStart CUSTOM
The date is specified via the entity using the following configuration:
<gdpr retentionStartDatePath="PathToDateAttribute"/>
public static final DataRetentionStart CALENDAR_YEAR_END
public static final DataRetentionStart BUSINESS_YEAR_END
public static final java.util.Map<java.lang.String,DataRetentionStart> VALUE_MAP
DataRetentionStart enum values.
Used for efficient lookup of data retention start values from string representations.public static DataRetentionStart[] values()
for (DataRetentionStart c : DataRetentionStart.values()) System.out.println(c);
public static DataRetentionStart 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 nullpublic java.lang.String getValue()
public static DataRetentionStart fromValue(java.lang.String value)
DataRetentionStart associated with the given string representation,
or null if no matching value is found.
The comparison is case-insensitive.value - the string representation of the retention start valueDataRetentionStart, or null if not foundCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.