public interface JsonSchemaCfgClient extends SchemaProviderCfgClient
The JSON Schema Provider provides the ability to configure customized JSON query matching rules.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends JsonSchemaCfgClient,? extends JsonSchemaCfg> |
definition()
Get the configuration definition 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 |
setCaseSensitiveStrings(Boolean value)
Sets the "case-sensitive-strings" property.
|
void |
setIgnoreWhiteSpace(Boolean value)
Sets the "ignore-white-space" property.
|
void |
setIndexedField(Collection<String> values)
Sets the "indexed-field" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setMatchingRuleName(String value)
Sets the "matching-rule-name" property.
|
void |
setMatchingRuleOid(String value)
Sets the "matching-rule-oid" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends JsonSchemaCfgClient,? extends JsonSchemaCfg> definition()
definition
in interface ConfigurationClient
definition
in interface SchemaProviderCfgClient
boolean isCaseSensitiveStrings()
Indicates whether JSON string comparisons should be case-sensitive.
void setCaseSensitiveStrings(Boolean value) throws PropertyException
Indicates whether JSON string comparisons should be case-sensitive.
value
- The value of the "case-sensitive-strings" property.PropertyException
- If the new value is invalid.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.
void setIgnoreWhiteSpace(Boolean value) throws PropertyException
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.
value
- The value of the "ignore-white-space" property.PropertyException
- If the new value is invalid.SortedSet<String> getIndexedField()
Specifies which JSON fields should be indexed.
A field will be indexed if it matches any of the configured field patterns.
void setIndexedField(Collection<String> values) throws PropertyException
Specifies which JSON fields should be indexed.
A field will be indexed if it matches any of the configured field patterns.
values
- The values of the "indexed-field" property.PropertyException
- If one or more of the new values are invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the JSON Schema implementation.
getJavaClass
in interface SchemaProviderCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the JSON Schema implementation.
setJavaClass
in interface SchemaProviderCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.String getMatchingRuleName()
The name of the custom JSON matching rule.
void setMatchingRuleName(String value) throws PropertyException
The name of the custom JSON matching rule.
value
- The value of the "matching-rule-name" property.PropertyException
- If the new value is invalid.String getMatchingRuleOid()
The numeric OID of the custom JSON matching rule.
void setMatchingRuleOid(String value) throws PropertyException
The numeric OID of the custom JSON matching rule.
value
- The value of the "matching-rule-oid" property.PropertyException
- If the new value is invalid.Copyright 2010-2020 ForgeRock AS.