Enum Ipv6Constants.Ipv6RouterAdvertisementType
- java.lang.Object
-
- java.lang.Enum<Ipv6Constants.Ipv6RouterAdvertisementType>
-
- org.opendaylight.genius.ipv6util.api.Ipv6Constants.Ipv6RouterAdvertisementType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Ipv6Constants.Ipv6RouterAdvertisementType>
- Enclosing interface:
- Ipv6Constants
public static enum Ipv6Constants.Ipv6RouterAdvertisementType extends java.lang.Enum<Ipv6Constants.Ipv6RouterAdvertisementType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CEASE_ADVERTISEMENT
SOLICITED_ADVERTISEMENT
UNSOLICITED_ADVERTISEMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ipv6Constants.Ipv6RouterAdvertisementType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Ipv6Constants.Ipv6RouterAdvertisementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSOLICITED_ADVERTISEMENT
public static final Ipv6Constants.Ipv6RouterAdvertisementType UNSOLICITED_ADVERTISEMENT
-
SOLICITED_ADVERTISEMENT
public static final Ipv6Constants.Ipv6RouterAdvertisementType SOLICITED_ADVERTISEMENT
-
CEASE_ADVERTISEMENT
public static final Ipv6Constants.Ipv6RouterAdvertisementType CEASE_ADVERTISEMENT
-
-
Method Detail
-
values
public static Ipv6Constants.Ipv6RouterAdvertisementType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Ipv6Constants.Ipv6RouterAdvertisementType c : Ipv6Constants.Ipv6RouterAdvertisementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ipv6Constants.Ipv6RouterAdvertisementType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-