use of org.apache.nifi.components.PropertyDescriptor.Builder in project kylo by Teradata.
the class ExecuteSparkApps method createAppArgPropertyDescriptor.
private PropertyDescriptor createAppArgPropertyDescriptor(AppArgument arg) {
final PropertyDescriptor.Builder builder = new PropertyDescriptor.Builder().required(false).name(arg.getPropertyName()).dynamic(true).expressionLanguageSupported(true);
addValidation(arg, builder);
return builder.build();
}
Aggregations