Enum GlobalCfgDefn.InvalidAttributeSyntaxBehavior
- java.lang.Object
-
- java.lang.Enum<GlobalCfgDefn.InvalidAttributeSyntaxBehavior>
-
- org.forgerock.opendj.server.config.meta.GlobalCfgDefn.InvalidAttributeSyntaxBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<GlobalCfgDefn.InvalidAttributeSyntaxBehavior>
- Enclosing class:
- GlobalCfgDefn
public static enum GlobalCfgDefn.InvalidAttributeSyntaxBehavior extends Enum<GlobalCfgDefn.InvalidAttributeSyntaxBehavior>
Defines the set of permissable values for the "invalid-attribute-syntax-behavior" property.Specifies how the directory server should handle operations whenever an attribute value violates the associated attribute syntax.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT
The directory server silently accepts attribute values that are invalid according to their associated syntax.REJECT
The directory server rejects attribute values that are invalid according to their associated syntax.WARN
The directory server accepts attribute values that are invalid according to their associated syntax, but also logs a warning message to the error log.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static GlobalCfgDefn.InvalidAttributeSyntaxBehavior
valueOf​(String name)
Returns the enum constant of this type with the specified name.static GlobalCfgDefn.InvalidAttributeSyntaxBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPT
public static final GlobalCfgDefn.InvalidAttributeSyntaxBehavior ACCEPT
The directory server silently accepts attribute values that are invalid according to their associated syntax. Matching operations targeting those values may not behave as expected.
-
REJECT
public static final GlobalCfgDefn.InvalidAttributeSyntaxBehavior REJECT
The directory server rejects attribute values that are invalid according to their associated syntax.
-
WARN
public static final GlobalCfgDefn.InvalidAttributeSyntaxBehavior WARN
The directory server accepts attribute values that are invalid according to their associated syntax, but also logs a warning message to the error log. Matching operations targeting those values may not behave as expected.
-
-
Method Detail
-
values
public static GlobalCfgDefn.InvalidAttributeSyntaxBehavior[] 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 (GlobalCfgDefn.InvalidAttributeSyntaxBehavior c : GlobalCfgDefn.InvalidAttributeSyntaxBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalCfgDefn.InvalidAttributeSyntaxBehavior 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<GlobalCfgDefn.InvalidAttributeSyntaxBehavior>
-
-