Enum RestEndpointGroup

java.lang.Object
java.lang.Enum<RestEndpointGroup>
com.hazelcast.config.RestEndpointGroup
All Implemented Interfaces:
Serializable, Comparable<RestEndpointGroup>, java.lang.constant.Constable

public enum RestEndpointGroup
extends Enum<RestEndpointGroup>
Enum of REST endpoint groups. A REST group is predefined set of REST endpoints which can be enabled or disabled. Groups don't overlap - each Hazelcast REST endpoint belongs to exactly one group. Each group has a default value (isEnabledByDefault()) which controls if it will be included by default in RestApiConfig configuration.
See Also:
RestApiConfig
  • Enum Constant Details

  • Method Details

    • values

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

      public static RestEndpointGroup 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 name
      NullPointerException - if the argument is null
    • isEnabledByDefault

      public boolean isEnabledByDefault()
      Returns if this group is enabled by default.