public abstract class ValidationContextAdapter extends Object implements ValidationContext
| Modifier and Type | Field and Description |
|---|---|
private ValidationContext |
innerValidationContext |
| Constructor and Description |
|---|
ValidationContextAdapter(ValidationContext innerValidationContext) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAllProperties() |
String |
getAnnotationData() |
ControllerServiceLookup |
getControllerServiceLookup() |
ValidationContext |
getControllerServiceValidationContext(ControllerService controllerService) |
String |
getProcessGroupIdentifier() |
Map<PropertyDescriptor,String> |
getProperties() |
PropertyValue |
getProperty(PropertyDescriptor descriptor) |
Collection<String> |
getReferencedParameters(String propertyName) |
boolean |
isDependencySatisfied(PropertyDescriptor propertyDescriptor,
Function<String,PropertyDescriptor> propertyDescriptorLookup) |
boolean |
isExpressionLanguagePresent(String value) |
boolean |
isExpressionLanguageSupported(String propertyName) |
boolean |
isParameterDefined(String parameterName) |
boolean |
isParameterSet(String parameterName) |
boolean |
isValidationRequired(ControllerService service) |
ExpressionLanguageCompiler |
newExpressionLanguageCompiler() |
PropertyValue |
newPropertyValue(String value) |
private ValidationContext innerValidationContext
public ValidationContextAdapter(ValidationContext innerValidationContext)
public PropertyValue getProperty(PropertyDescriptor descriptor)
getProperty in interface PropertyContextpublic Map<String,String> getAllProperties()
getAllProperties in interface PropertyContextpublic ControllerServiceLookup getControllerServiceLookup()
getControllerServiceLookup in interface ValidationContextpublic ValidationContext getControllerServiceValidationContext(ControllerService controllerService)
getControllerServiceValidationContext in interface ValidationContextpublic ExpressionLanguageCompiler newExpressionLanguageCompiler()
newExpressionLanguageCompiler in interface ValidationContextpublic PropertyValue newPropertyValue(String value)
newPropertyValue in interface ValidationContextpublic Map<PropertyDescriptor,String> getProperties()
getProperties in interface ValidationContextpublic String getAnnotationData()
getAnnotationData in interface ValidationContextpublic boolean isValidationRequired(ControllerService service)
isValidationRequired in interface ValidationContextpublic boolean isExpressionLanguagePresent(String value)
isExpressionLanguagePresent in interface ValidationContextpublic boolean isExpressionLanguageSupported(String propertyName)
isExpressionLanguageSupported in interface ValidationContextpublic String getProcessGroupIdentifier()
getProcessGroupIdentifier in interface ValidationContextpublic boolean isParameterDefined(String parameterName)
isParameterDefined in interface ValidationContextpublic boolean isParameterSet(String parameterName)
isParameterSet in interface ValidationContextpublic Collection<String> getReferencedParameters(String propertyName)
getReferencedParameters in interface ValidationContextpublic boolean isDependencySatisfied(PropertyDescriptor propertyDescriptor, Function<String,PropertyDescriptor> propertyDescriptorLookup)
isDependencySatisfied in interface ValidationContextCopyright © 2021 Apache NiFi Project. All rights reserved.