@Internal public class LiteralValueValidator extends HierarchyDescriptorValidator
LiteralValue.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
TYPE |
static String |
VALUE |
EMPTY_PREFIX| 构造器和说明 |
|---|
LiteralValueValidator(String keyPrefix) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
getValue(String keyPrefix,
DescriptorProperties properties)
Gets the value according to the type and value strings.
|
protected void |
validateWithPrefix(String keyPrefix,
DescriptorProperties properties)
Performs validation with a prefix for the keys.
|
validatepublic LiteralValueValidator(String keyPrefix)
keyPrefix - prefix to be added to every property before validationpublic static Object getValue(String keyPrefix, DescriptorProperties properties)
keyPrefix - the prefix of the literal type keyproperties - the descriptor propertiesprotected void validateWithPrefix(String keyPrefix, DescriptorProperties properties)
HierarchyDescriptorValidatorCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.