Package com.bobocode.bring.core.domain
Enum Class ProxyMode
- All Implemented Interfaces:
Serializable
,Comparable<ProxyMode>
,Constable
Enumeration representing the modes of proxy functionality.
This enum defines two modes: OFF
and ON
, indicating whether the proxy mode is turned off or on.
It is used to manage and control the behavior related to proxy functionality within the application.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
OFF
Indicates that the proxy mode is turned off. -
ON
Indicates that the proxy mode is turned on.
-
-
Constructor Details
-
ProxyMode
private ProxyMode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-