public interface JsonEqualityMatchingRuleCfg extends SchemaProviderCfg
JSON Equality Matching Rules determine whether two JSON values are equivalent using a custom set of rules.
Modifier and Type | Method and 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.
|
addChangeListener, isEnabled, removeChangeListener
dn, name
Class<? extends JsonEqualityMatchingRuleCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface SchemaProviderCfg
void addJsonEqualityMatchingRuleChangeListener(ConfigurationChangeListener<JsonEqualityMatchingRuleCfg> listener)
listener
- The JSON Equality Matching Rule configuration change listener.void removeJsonEqualityMatchingRuleChangeListener(ConfigurationChangeListener<JsonEqualityMatchingRuleCfg> listener)
listener
- The JSON Equality Matching Rule configuration change listener.boolean isCaseSensitiveStrings()
Indicates whether JSON string comparisons should be case-sensitive.
boolean isIgnoreWhiteSpace()
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.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the JSON Equality Matching Rule implementation.
getJavaClass
in interface SchemaProviderCfg
String getJsonKeys()
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.
String getMatchingRuleName()
The name of the custom JSON matching rule.
String getMatchingRuleOid()
The numeric OID of the custom JSON matching rule.
Copyright 2010-2018 ForgeRock AS.