public final class JcrProperties extends Object implements net.adamcin.oakpal.api.ProgressCheckFactory
config
options:
scopePaths
(Rule
[]
)type
(RuleType
) of the last matching rule determines whether the matched
path is in scope for checking the properties on the node and its descendants.denyNodeTypes
scopeNodeTypes
properties
JcrPropertyConstraints
definitions."config": { "scopePaths": [ { "pattern": "/apps/.*", "type": "allow" }, { "pattern": "/libs/.*", "type": "allow" } ], "denyNodeTypes": ["sling:OsgiConfig"], "scopeNodeTypes": ["{http://www.day.com/jcr/cq/1.0}Component"], "properties": [ { "name": "{http://sling.apache.org/jcr/sling/1.0}resourceType", "denyIfPresent": true }, { "name": "componentGroup", "denyIfAbsent": true, "denyIfMultivalued": true }, { "name": "sling:resourceSuperType", "valueRules": [{ "pattern": "[^/].*", "type": "deny" }] } ] }
Modifier and Type | Class and Description |
---|---|
static interface |
JcrProperties.JsonKeys |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_DENY_NODE_TYPES
Deprecated.
|
static String |
CONFIG_PROPERTIES
Deprecated.
|
static String |
CONFIG_SCOPE_NODE_TYPES
Deprecated.
|
static String |
CONFIG_SCOPE_PATHS
Deprecated.
|
Constructor and Description |
---|
JcrProperties() |
Modifier and Type | Method and Description |
---|---|
static @NotNull JcrProperties.JsonKeys |
keys() |
net.adamcin.oakpal.api.ProgressCheck |
newInstance(javax.json.JsonObject config) |
@Deprecated public static final String CONFIG_SCOPE_PATHS
@Deprecated public static final String CONFIG_DENY_NODE_TYPES
@Deprecated public static final String CONFIG_SCOPE_NODE_TYPES
@Deprecated public static final String CONFIG_PROPERTIES
@NotNull public static @NotNull JcrProperties.JsonKeys keys()
public net.adamcin.oakpal.api.ProgressCheck newInstance(javax.json.JsonObject config)
newInstance
in interface net.adamcin.oakpal.api.ProgressCheckFactory
Copyright © 2017–2020. All rights reserved.