@Internal public class ClassInstanceValidator extends HierarchyDescriptorValidator
ClassInstance
.Modifier and Type | Field and Description |
---|---|
static String |
CLASS |
static String |
CONSTRUCTOR |
EMPTY_PREFIX
Constructor and Description |
---|
ClassInstanceValidator() |
ClassInstanceValidator(String keyPrefix) |
Modifier and Type | Method and Description |
---|---|
protected void |
validateWithPrefix(String keyPrefix,
DescriptorProperties properties)
Performs validation with a prefix for the keys.
|
validate
public static final String CLASS
public static final String CONSTRUCTOR
public ClassInstanceValidator(String keyPrefix)
keyPrefix
- prefix to be added to every property before validationpublic ClassInstanceValidator()
protected void validateWithPrefix(String keyPrefix, DescriptorProperties properties)
HierarchyDescriptorValidator
validateWithPrefix
in class HierarchyDescriptorValidator
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.