Enum Class ProxyMode

java.lang.Object
java.lang.Enum<ProxyMode>
com.bobocode.bring.core.domain.ProxyMode
All Implemented Interfaces:
Serializable, Comparable<ProxyMode>, Constable

public enum ProxyMode extends Enum<ProxyMode>
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
  • Enum Constant Details

    • OFF

      public static final ProxyMode OFF
      Indicates that the proxy mode is turned off.
    • ON

      public static final ProxyMode ON
      Indicates that the proxy mode is turned on.
  • Constructor Details

    • ProxyMode

      private ProxyMode()
  • Method Details

    • values

      public static ProxyMode[] 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

      public static ProxyMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null