Annotation Interface ProcessorConfiguration


@Documented @Target(TYPE) @Retention(RUNTIME) @Inherited public @interface ProcessorConfiguration
An annotation that can be used in conjunction with MultiProcessorUseCase in order to specify the different components that are involved in a given use case.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends Processor>
    Returns the class of the Processor that is to be used in the use case, if it is provided.
     
  • Element Details

    • processorClass

      Class<? extends Processor> processorClass
      Returns the class of the Processor that is to be used in the use case, if it is provided. Either the Processor Class or the Processor Class Name must be provided.
      Returns:
      the Processor's class, or Processor if the processor's classname is specified instead
      Default:
      org.apache.nifi.processor.Processor.class
    • processorClassName

      String processorClassName
      Returns:
      the fully qualified classname of the component
      Default:
      ""
    • configuration

      String configuration
      Returns:
      an explanation of how the Processor should be configured.