public enum TunnelTestStatus extends Enum<TunnelTestStatus>
| Enum Constant and Description |
|---|
FAILEDThree consecutive failures, marked for removal |
FAILINGOne or two consecutive failures |
GOODRecent successful test |
OVER_BUDGETScheduled for early expiry due to pool over budget |
TESTINGTest is currently in progress |
TOO_SLOWScheduled for early expiry due to slow tunnel |
UNTESTEDNo test has been run yet |
| Modifier and Type | Method and Description |
|---|---|
static TunnelTestStatus | valueOf(String name)Returns the enum constant of this type with the specified name. |
static TunnelTestStatus[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final TunnelTestStatus FAILED
public static final TunnelTestStatus FAILING
public static final TunnelTestStatus GOOD
public static final TunnelTestStatus OVER_BUDGET
public static final TunnelTestStatus TESTING
public static final TunnelTestStatus TOO_SLOW
public static final TunnelTestStatus UNTESTED
public static TunnelTestStatus 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 TunnelTestStatus[] values()
for (TunnelTestStatus c : TunnelTestStatus.values()) System.out.println(c);