public enum FlightMethod extends Enum<FlightMethod>
| Enum Constant and Description |
|---|
DO_ACTION |
DO_EXCHANGE |
DO_GET |
DO_PUT |
GET_FLIGHT_INFO |
GET_SCHEMA |
HANDSHAKE |
LIST_ACTIONS |
LIST_FLIGHTS |
POLL_FLIGHT_INFO |
| Modifier and Type | Method and Description |
|---|---|
static FlightMethod |
fromProtocol(String methodName)
Convert a method name string into a
FlightMethod. |
static FlightMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlightMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlightMethod HANDSHAKE
public static final FlightMethod LIST_FLIGHTS
public static final FlightMethod GET_FLIGHT_INFO
public static final FlightMethod GET_SCHEMA
public static final FlightMethod DO_GET
public static final FlightMethod DO_PUT
public static final FlightMethod DO_ACTION
public static final FlightMethod LIST_ACTIONS
public static final FlightMethod DO_EXCHANGE
public static final FlightMethod POLL_FLIGHT_INFO
public static FlightMethod[] values()
for (FlightMethod c : FlightMethod.values()) System.out.println(c);
public static FlightMethod 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 nullpublic static FlightMethod fromProtocol(String methodName)
FlightMethod.IllegalArgumentException - if the method name is not valid.Copyright © 2024 The Apache Software Foundation. All rights reserved.