public interface JsonSchemaCfg extends SchemaProviderCfg
The JSON Schema Provider provides the ability to configure customized JSON query matching rules.
Modifier and Type | Method and Description |
---|---|
void |
addJsonSchemaChangeListener(ConfigurationChangeListener<JsonSchemaCfg> listener)
Register to be notified when this JSON Schema is changed.
|
Class<? extends JsonSchemaCfg> |
configurationClass()
Gets the configuration class associated with this JSON Schema.
|
SortedSet<String> |
getIndexedField()
Gets the "indexed-field" property.
|
String |
getJavaClass()
Gets the "java-class" 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 |
removeJsonSchemaChangeListener(ConfigurationChangeListener<JsonSchemaCfg> listener)
Deregister an existing JSON Schema configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn, name
Class<? extends JsonSchemaCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface SchemaProviderCfg
void addJsonSchemaChangeListener(ConfigurationChangeListener<JsonSchemaCfg> listener)
listener
- The JSON Schema configuration change listener.void removeJsonSchemaChangeListener(ConfigurationChangeListener<JsonSchemaCfg> listener)
listener
- The JSON Schema 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.
SortedSet<String> getIndexedField()
Specifies which JSON fields should be indexed.
A field will be indexed if it matches any of the configured field patterns.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the JSON Schema implementation.
getJavaClass
in interface SchemaProviderCfg
String getMatchingRuleName()
The name of the custom JSON matching rule.
String getMatchingRuleOid()
The numeric OID of the custom JSON matching rule.
Copyright 2010-2020 ForgeRock AS.