public static enum ConsumerPolicy.StartOffset extends Enum<ConsumerPolicy.StartOffset>
Enum Constant and Description |
---|
BEGIN |
END |
LAST_COMMITTED |
Modifier and Type | Method and Description |
---|---|
static ConsumerPolicy.StartOffset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerPolicy.StartOffset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerPolicy.StartOffset BEGIN
public static final ConsumerPolicy.StartOffset END
public static final ConsumerPolicy.StartOffset LAST_COMMITTED
public static ConsumerPolicy.StartOffset[] values()
for (ConsumerPolicy.StartOffset c : ConsumerPolicy.StartOffset.values()) System.out.println(c);
public static ConsumerPolicy.StartOffset 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 © 2018 Nuxeo. All rights reserved.