Package | Description |
---|---|
org.apache.sling.feature.extension.apiregions.api.config | |
org.apache.sling.feature.extension.apiregions.api.config.validation |
Modifier and Type | Method and Description |
---|---|
Mode |
PropertyDescription.getMode()
Get the validation mode.
|
Mode |
ConfigurationApi.getMode()
Get the validation mode.
|
Mode |
ConfigurableEntity.getMode()
Get the validation mode.
|
static Mode |
Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode[] |
Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyDescription.setMode(Mode value)
Set the validation mode
|
void |
ConfigurationApi.setMode(Mode value)
Set the validation mode
|
void |
ConfigurableEntity.setMode(Mode value)
Set the validation mode
|
Modifier and Type | Method and Description |
---|---|
ConfigurationValidationResult |
ConfigurationValidator.validate(org.apache.sling.feature.Configuration config,
ConfigurableEntity desc,
Region region,
Mode mode)
Validate a configuration
|
PropertyValidationResult |
PropertyValidator.validate(Object value,
PropertyDescription desc,
Mode mode)
Validate the value against the property definition
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.