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