Enum PortManager.PortRef.CloseOption
java.lang.Object
java.lang.Enum<PortManager.PortRef.CloseOption>
org.terracotta.utilities.test.net.PortManager.PortRef.CloseOption
- All Implemented Interfaces:
Serializable,Comparable<PortManager.PortRef.CloseOption>,java.lang.constant.Constable
- Enclosing class:
- PortManager.PortRef
Options that may be used with
PortManager.PortRef.close(Set).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that no busy check should be performed when closing thePortRefand releasing a port. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static PortManager.PortRef.CloseOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NO_RELEASE_CHECK
Indicates that no busy check should be performed when closing thePortRefand releasing a port. This option should be used only when it is known that the port has not been used and cannot be busy.
-
-
Constructor Details
-
CloseOption
private CloseOption()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-