Class JsonEqualityMatchingRuleCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<JsonEqualityMatchingRuleCfgClient,JsonEqualityMatchingRuleCfg>
-
- org.forgerock.opendj.server.config.meta.JsonEqualityMatchingRuleCfgDefn
-
public final class JsonEqualityMatchingRuleCfgDefn extends ManagedObjectDefinition<JsonEqualityMatchingRuleCfgClient,JsonEqualityMatchingRuleCfg>
An interface for querying the JSON Equality Matching Rule managed object definition meta information.JSON Equality Matching Rules determine whether two JSON values are equivalent using a custom set of rules.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonEqualityMatchingRuleCfgClient
createClientConfiguration(ManagedObject<? extends JsonEqualityMatchingRuleCfgClient> impl)
Creates a client configuration view of the provided managed object.JsonEqualityMatchingRuleCfg
createServerConfiguration(ServerManagedObject<? extends JsonEqualityMatchingRuleCfg> impl)
Creates a server configuration view of the provided server managed object.BooleanPropertyDefinition
getCaseSensitiveStringsPropertyDefinition()
Get the "case-sensitive-strings" property definition.BooleanPropertyDefinition
getEnabledPropertyDefinition()
Get the "enabled" property definition.BooleanPropertyDefinition
getIgnoreWhiteSpacePropertyDefinition()
Get the "ignore-white-space" property definition.static JsonEqualityMatchingRuleCfgDefn
getInstance()
Get the JSON Equality Matching Rule configuration definition singleton.ClassPropertyDefinition
getJavaClassPropertyDefinition()
Get the "java-class" property definition.StringPropertyDefinition
getJsonKeysPropertyDefinition()
Get the "json-keys" property definition.StringPropertyDefinition
getMatchingRuleNamePropertyDefinition()
Get the "matching-rule-name" property definition.StringPropertyDefinition
getMatchingRuleOidPropertyDefinition()
Get the "matching-rule-oid" property definition.Class<JsonEqualityMatchingRuleCfg>
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static JsonEqualityMatchingRuleCfgDefn getInstance()
Get the JSON Equality Matching Rule configuration definition singleton.- Returns:
- Returns the JSON Equality Matching Rule configuration definition singleton.
-
createClientConfiguration
public JsonEqualityMatchingRuleCfgClient createClientConfiguration(ManagedObject<? extends JsonEqualityMatchingRuleCfgClient> impl)
Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<JsonEqualityMatchingRuleCfgClient,JsonEqualityMatchingRuleCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public JsonEqualityMatchingRuleCfg createServerConfiguration(ServerManagedObject<? extends JsonEqualityMatchingRuleCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<JsonEqualityMatchingRuleCfgClient,JsonEqualityMatchingRuleCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<JsonEqualityMatchingRuleCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<JsonEqualityMatchingRuleCfgClient,JsonEqualityMatchingRuleCfg>
- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getCaseSensitiveStringsPropertyDefinition
public BooleanPropertyDefinition getCaseSensitiveStringsPropertyDefinition()
Get the "case-sensitive-strings" property definition.Indicates whether JSON string comparisons should be case-sensitive.
- Returns:
- Returns the "case-sensitive-strings" property definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicates whether the JSON Equality Matching Rule is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getIgnoreWhiteSpacePropertyDefinition
public BooleanPropertyDefinition getIgnoreWhiteSpacePropertyDefinition()
Get the "ignore-white-space" property definition.Indicates whether JSON string comparisons should ignore white space.
When enabled, all leading and trailing white space will be removed and intermediate white space will be reduced to a single character.
- Returns:
- Returns the "ignore-white-space" property definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the JSON Equality Matching Rule implementation.
- Returns:
- Returns the "java-class" property definition.
-
getJsonKeysPropertyDefinition
public StringPropertyDefinition getJsonKeysPropertyDefinition()
Get the "json-keys" property definition.Specifies which JSON fields should be compared in order to determine whether two JSON objects are equivalent.
This parameter is a list of space-delimited JSON pointers.
- Returns:
- Returns the "json-keys" property definition.
-
getMatchingRuleNamePropertyDefinition
public StringPropertyDefinition getMatchingRuleNamePropertyDefinition()
Get the "matching-rule-name" property definition.The name of the custom JSON matching rule.
- Returns:
- Returns the "matching-rule-name" property definition.
-
getMatchingRuleOidPropertyDefinition
public StringPropertyDefinition getMatchingRuleOidPropertyDefinition()
Get the "matching-rule-oid" property definition.The numeric OID of the custom JSON matching rule.
- Returns:
- Returns the "matching-rule-oid" property definition.
-
-