Enum Class CouchbaseService

java.lang.Object
java.lang.Enum<CouchbaseService>
org.testcontainers.couchbase.CouchbaseService
All Implemented Interfaces:
Serializable, Comparable<CouchbaseService>, Constable

public enum CouchbaseService extends Enum<CouchbaseService>
Describes the different services that should be exposed on the container.
  • Enum Constant Details

    • KV

      public static final CouchbaseService KV
      Key-Value service.
    • QUERY

      public static final CouchbaseService QUERY
      Query (N1QL) service.

      Note that the query service has no memory quota, so it is set to 0.

    • INDEX

      public static final CouchbaseService INDEX
      Indexing service (needed if QUERY is also used!).
    • ANALYTICS

      public static final CouchbaseService ANALYTICS
      Analytics service.
    • EVENTING

      public static final CouchbaseService EVENTING
      Eventing service.
  • Method Details

    • values

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