public static enum CdcCommonProperties.Offset.OffsetPolicy extends Enum<CdcCommonProperties.Offset.OffsetPolicy>
Enum Constant and Description |
---|
always
always.
|
periodic
periodic.
|
Modifier and Type | Field and Description |
---|---|
String |
policyClass
policy.
|
Modifier and Type | Method and Description |
---|---|
static CdcCommonProperties.Offset.OffsetPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdcCommonProperties.Offset.OffsetPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdcCommonProperties.Offset.OffsetPolicy periodic
public static final CdcCommonProperties.Offset.OffsetPolicy always
public final String policyClass
public static CdcCommonProperties.Offset.OffsetPolicy[] values()
for (CdcCommonProperties.Offset.OffsetPolicy c : CdcCommonProperties.Offset.OffsetPolicy.values()) System.out.println(c);
public static CdcCommonProperties.Offset.OffsetPolicy 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 © 2022. All rights reserved.