public enum NetworkStatus extends Enum<NetworkStatus>
| Enum Constant and Description | 
|---|
ACTIVE  | 
BUILD  | 
DOWN  | 
ERROR  | 
UNRECOGNIZED
Used by jclouds when the service returns an unknown value other than null. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static NetworkStatus | 
fromValue(String name)  | 
String | 
toString()  | 
static NetworkStatus | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static NetworkStatus[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final NetworkStatus ACTIVE
public static final NetworkStatus DOWN
public static final NetworkStatus BUILD
public static final NetworkStatus ERROR
public static final NetworkStatus UNRECOGNIZED
public static NetworkStatus[] values()
for (NetworkStatus c : NetworkStatus.values()) System.out.println(c);
public static NetworkStatus 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 String toString()
toString in class Enum<NetworkStatus>public static NetworkStatus fromValue(String name)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.