Enum ManagementServerPortUtils.ManagementServerPort
- java.lang.Object
-
- java.lang.Enum<ManagementServerPortUtils.ManagementServerPort>
-
- org.springframework.cloud.client.discovery.ManagementServerPortUtils.ManagementServerPort
-
- All Implemented Interfaces:
Serializable
,Comparable<ManagementServerPortUtils.ManagementServerPort>
- Enclosing class:
- ManagementServerPortUtils
public static enum ManagementServerPortUtils.ManagementServerPort extends Enum<ManagementServerPortUtils.ManagementServerPort>
Enumeration for management server ports.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ManagementServerPortUtils.ManagementServerPort
get(org.springframework.beans.factory.BeanFactory beanFactory)
static ManagementServerPortUtils.ManagementServerPort
valueOf(String name)
Returns the enum constant of this type with the specified name.static ManagementServerPortUtils.ManagementServerPort[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLE
public static final ManagementServerPortUtils.ManagementServerPort DISABLE
Disabled management server port.
-
SAME
public static final ManagementServerPortUtils.ManagementServerPort SAME
Add it. TODO: Add it
-
DIFFERENT
public static final ManagementServerPortUtils.ManagementServerPort DIFFERENT
Add it. TODO: Add it
-
-
Method Detail
-
values
public static ManagementServerPortUtils.ManagementServerPort[] 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 (ManagementServerPortUtils.ManagementServerPort c : ManagementServerPortUtils.ManagementServerPort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManagementServerPortUtils.ManagementServerPort 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
-
get
public static ManagementServerPortUtils.ManagementServerPort get(org.springframework.beans.factory.BeanFactory beanFactory)
-
-