public class StandardValidationContext extends AbstractValidationContext implements ValidationContext
| Modifier and Type | Field and Description |
|---|---|
private String |
annotationData |
private String |
componentId |
private ControllerServiceProvider |
controllerServiceProvider |
private AtomicReference<Map<PropertyDescriptor,String>> |
effectiveValuesRef |
private Map<String,Boolean> |
expressionLanguageSupported |
private String |
groupId |
private ParameterContext |
parameterContext |
private Map<PropertyDescriptor,org.apache.nifi.attribute.expression.language.PreparedQuery> |
preparedQueries |
private Map<PropertyDescriptor,PropertyConfiguration> |
properties |
private VariableRegistry |
variableRegistry |
| Constructor and Description |
|---|
StandardValidationContext(ControllerServiceProvider controllerServiceProvider,
Map<PropertyDescriptor,PropertyConfiguration> properties,
String annotationData,
String groupId,
String componentId,
VariableRegistry variableRegistry,
ParameterContext parameterContext) |
| 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 property) |
Collection<String> |
getReferencedParameters(String propertyName) |
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 rawValue) |
String |
toString() |
isDependencySatisfiedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDependencySatisfiedprivate final ControllerServiceProvider controllerServiceProvider
private final Map<PropertyDescriptor,PropertyConfiguration> properties
private final Map<PropertyDescriptor,org.apache.nifi.attribute.expression.language.PreparedQuery> preparedQueries
private final String annotationData
private final VariableRegistry variableRegistry
private final String groupId
private final String componentId
private final ParameterContext parameterContext
private final AtomicReference<Map<PropertyDescriptor,String>> effectiveValuesRef
public StandardValidationContext(ControllerServiceProvider controllerServiceProvider, Map<PropertyDescriptor,PropertyConfiguration> properties, String annotationData, String groupId, String componentId, VariableRegistry variableRegistry, ParameterContext parameterContext)
public PropertyValue newPropertyValue(String rawValue)
newPropertyValue in interface ValidationContextpublic ExpressionLanguageCompiler newExpressionLanguageCompiler()
newExpressionLanguageCompiler in interface ValidationContextpublic ValidationContext getControllerServiceValidationContext(ControllerService controllerService)
getControllerServiceValidationContext in interface ValidationContextpublic PropertyValue getProperty(PropertyDescriptor property)
getProperty in interface PropertyContextpublic Map<PropertyDescriptor,String> getProperties()
getProperties in interface ValidationContextpublic Map<String,String> getAllProperties()
getAllProperties in interface PropertyContextpublic String getAnnotationData()
getAnnotationData in interface ValidationContextpublic ControllerServiceLookup getControllerServiceLookup()
getControllerServiceLookup 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 Collection<String> getReferencedParameters(String propertyName)
getReferencedParameters in interface ValidationContextpublic boolean isParameterDefined(String parameterName)
isParameterDefined in interface ValidationContextpublic boolean isParameterSet(String parameterName)
isParameterSet in interface ValidationContextCopyright © 2021 Apache NiFi Project. All rights reserved.