public static enum Sink.Status extends Enum<Sink.Status>
| Modifier and Type | Method and Description | 
|---|---|
| static Sink.Status | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Sink.Status[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Sink.Status READY
public static final Sink.Status BACKOFF
public static Sink.Status[] values()
for (Sink.Status c : Sink.Status.values()) System.out.println(c);
public static Sink.Status 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 © 2009-2017 Apache Software Foundation. All Rights Reserved.