public enum StatusUpdateMethod extends Enum<StatusUpdateMethod>
Enum Constant and Description |
---|
PULL
Driver has to be polled for status updates.
|
PUSH
Async status update: driver supports taking a callback and updating status through that.
|
Modifier and Type | Method and Description |
---|---|
static StatusUpdateMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusUpdateMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusUpdateMethod PUSH
public static final StatusUpdateMethod PULL
public static StatusUpdateMethod[] values()
for (StatusUpdateMethod c : StatusUpdateMethod.values()) System.out.println(c);
public static StatusUpdateMethod 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 © 2014–2018 Apache Software Foundation. All rights reserved.