Enum AddressType
- java.lang.Object
-
- java.lang.Enum<AddressType>
-
- org.infinispan.server.configuration.AddressType
-
- All Implemented Interfaces:
Serializable,Comparable<AddressType>
public enum AddressType extends Enum<AddressType>
- Since:
- 10.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY_ADDRESSGLOBALINET_ADDRESSLINK_LOCALLOOPBACKMATCH_ADDRESSMATCH_HOSTMATCH_INTERFACENON_LOOPBACKSITE_LOCAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasValue()StringtoString()static AddressTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AddressType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY_ADDRESS
public static final AddressType ANY_ADDRESS
-
INET_ADDRESS
public static final AddressType INET_ADDRESS
-
LINK_LOCAL
public static final AddressType LINK_LOCAL
-
GLOBAL
public static final AddressType GLOBAL
-
LOOPBACK
public static final AddressType LOOPBACK
-
NON_LOOPBACK
public static final AddressType NON_LOOPBACK
-
SITE_LOCAL
public static final AddressType SITE_LOCAL
-
MATCH_INTERFACE
public static final AddressType MATCH_INTERFACE
-
MATCH_ADDRESS
public static final AddressType MATCH_ADDRESS
-
MATCH_HOST
public static final AddressType MATCH_HOST
-
-
Method Detail
-
values
public static AddressType[] 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 (AddressType c : AddressType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddressType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
hasValue
public boolean hasValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AddressType>
-
-