Search in sources :

Example 1 with Builder

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();
}
Also used : PropertyDescriptor(org.apache.nifi.components.PropertyDescriptor) SparkCommandBuilder(com.thinkbiganalytics.spark.multiexec.SparkApplicationCommandsBuilder.SparkCommandBuilder) Builder(org.apache.nifi.components.PropertyDescriptor.Builder) SparkApplicationCommandsBuilder(com.thinkbiganalytics.spark.multiexec.SparkApplicationCommandsBuilder) Builder(org.apache.nifi.components.PropertyDescriptor.Builder)

Aggregations

SparkApplicationCommandsBuilder (com.thinkbiganalytics.spark.multiexec.SparkApplicationCommandsBuilder)1 SparkCommandBuilder (com.thinkbiganalytics.spark.multiexec.SparkApplicationCommandsBuilder.SparkCommandBuilder)1 PropertyDescriptor (org.apache.nifi.components.PropertyDescriptor)1 Builder (org.apache.nifi.components.PropertyDescriptor.Builder)1