Enum RedactableArgument.ArgumentType
- java.lang.Object
-
- java.lang.Enum<RedactableArgument.ArgumentType>
-
- com.couchbase.client.core.logging.RedactableArgument.ArgumentType
-
- All Implemented Interfaces:
Serializable
,Comparable<RedactableArgument.ArgumentType>
- Enclosing class:
- RedactableArgument
public static enum RedactableArgument.ArgumentType extends Enum<RedactableArgument.ArgumentType>
The type of the redactable argument.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description META
Metadata is logical data needed by Couchbase to store and process user data.SYSTEM
System data is data from other parts of the system Couchbase interacts with over the network.USER
User data is data that is stored into Couchbase by the application user account.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RedactableArgument.ArgumentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RedactableArgument.ArgumentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final RedactableArgument.ArgumentType USER
User data is data that is stored into Couchbase by the application user account.
-
META
public static final RedactableArgument.ArgumentType META
Metadata is logical data needed by Couchbase to store and process user data.
-
SYSTEM
public static final RedactableArgument.ArgumentType SYSTEM
System data is data from other parts of the system Couchbase interacts with over the network.
-
-
Method Detail
-
values
public static RedactableArgument.ArgumentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RedactableArgument.ArgumentType c : RedactableArgument.ArgumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedactableArgument.ArgumentType 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 nameNullPointerException
- if the argument is null
-
-