Interface GeneratorConfig.Builder

Enclosing interface:
GeneratorConfig

public static interface GeneratorConfig.Builder
Builder to build configuration of file generator.
  • Method Details

    • withDefaultInputNodeLabel

      GeneratorConfig.Builder withDefaultInputNodeLabel(String label)
      Configures the label for default input node.
      Parameters:
      label - Label for default input node.
      Returns:
      Generator config builder
    • withDefaultFileExtension

      GeneratorConfig.Builder withDefaultFileExtension(String fileExtension)
      Configures the file extension of the file being generated.
      Parameters:
      fileExtension - File extension
      Returns:
      Generator config builder
    • addAdditionalInputNode

      GeneratorConfig.InputNodeGeneratorBuilder addAdditionalInputNode(String secondInputId)
      Configures additional input nodes. Export step will always have one input node by default.
      Parameters:
      secondInputId - ID of the additional input node
      Returns:
      Input node generator builder
    • addStepProperty

      GeneratorConfig.StepPropertyGeneratorBuilder addStepProperty(String stepPropertyId)
      Adds a step property to the custom file generator.
      Parameters:
      stepPropertyId - ID of the step property
      Returns:
      Step property generator builder
    • done

      Completes the configuration.
      Returns:
      Completed generator configuration