Interface JsonEqualityMatchingRuleCfg
-
- All Superinterfaces:
Configuration
,SchemaProviderCfg
public interface JsonEqualityMatchingRuleCfg extends SchemaProviderCfg
A server-side interface for querying JSON Equality Matching Rule settings.JSON Equality Matching Rules determine whether two JSON values are equivalent using a custom set of rules.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addJsonEqualityMatchingRuleChangeListener(ConfigurationChangeListener<JsonEqualityMatchingRuleCfg> listener)
Register to be notified when this JSON Equality Matching Rule is changed.Class<? extends JsonEqualityMatchingRuleCfg>
configurationClass()
Gets the configuration class associated with this JSON Equality Matching Rule.String
getJavaClass()
Gets the "java-class" property.String
getJsonKeys()
Gets the "json-keys" property.String
getMatchingRuleName()
Gets the "matching-rule-name" property.String
getMatchingRuleOid()
Gets the "matching-rule-oid" property.boolean
isCaseSensitiveStrings()
Gets the "case-sensitive-strings" property.boolean
isIgnoreWhiteSpace()
Gets the "ignore-white-space" property.void
removeJsonEqualityMatchingRuleChangeListener(ConfigurationChangeListener<JsonEqualityMatchingRuleCfg> listener)
Deregister an existing JSON Equality Matching Rule configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.SchemaProviderCfg
addChangeListener, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends JsonEqualityMatchingRuleCfg> configurationClass()
Gets the configuration class associated with this JSON Equality Matching Rule.- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfaceSchemaProviderCfg
- Returns:
- Returns the configuration class associated with this JSON Equality Matching Rule.
-
addJsonEqualityMatchingRuleChangeListener
void addJsonEqualityMatchingRuleChangeListener(ConfigurationChangeListener<JsonEqualityMatchingRuleCfg> listener)
Register to be notified when this JSON Equality Matching Rule is changed.- Parameters:
listener
- The JSON Equality Matching Rule configuration change listener.
-
removeJsonEqualityMatchingRuleChangeListener
void removeJsonEqualityMatchingRuleChangeListener(ConfigurationChangeListener<JsonEqualityMatchingRuleCfg> listener)
Deregister an existing JSON Equality Matching Rule configuration change listener.- Parameters:
listener
- The JSON Equality Matching Rule configuration change listener.
-
isCaseSensitiveStrings
boolean isCaseSensitiveStrings()
Gets the "case-sensitive-strings" property.Indicates whether JSON string comparisons should be case-sensitive.
Default value:
false
- Returns:
- Returns the value of the "case-sensitive-strings" property.
-
isIgnoreWhiteSpace
boolean isIgnoreWhiteSpace()
Gets the "ignore-white-space" property.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.
Default value:
true
- Returns:
- Returns the value of the "ignore-white-space" property.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the JSON Equality Matching Rule implementation.
Default value:
org.opends.server.schema.JsonEqualityMatchingRuleProvider
- Specified by:
getJavaClass
in interfaceSchemaProviderCfg
- Returns:
- Returns the value of the "java-class" property.
-
getJsonKeys
String getJsonKeys()
Gets the "json-keys" property.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 value of the "json-keys" property.
-
getMatchingRuleName
String getMatchingRuleName()
Gets the "matching-rule-name" property.The name of the custom JSON matching rule.
- Returns:
- Returns the value of the "matching-rule-name" property.
-
getMatchingRuleOid
String getMatchingRuleOid()
Gets the "matching-rule-oid" property.The numeric OID of the custom JSON matching rule.
- Returns:
- Returns the value of the "matching-rule-oid" property.
-
-