Annotation Interface Injection


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Injection
Field that support injection should be marked by this annotation.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Injection key.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Convert empty values or not.
    Class<? extends org.pentaho.di.core.injection.InjectionTypeConverter>
    Converter from RowMetaAndData to java types.
    Injection group.
    boolean
    Property for Required Fields
  • Element Details

    • name

      String name
      Injection key.
    • group

      String group
      Injection group.
      Default:
      ""
    • converter

      Class<? extends org.pentaho.di.core.injection.InjectionTypeConverter> converter
      Converter from RowMetaAndData to java types.
      Default:
      org.pentaho.di.core.injection.DefaultInjectionTypeConverter.class
    • convertEmpty

      boolean convertEmpty
      Convert empty values or not. By default, empty value doesn't change target value.
      Default:
      false
    • required

      boolean required
      Property for Required Fields
      Default:
      false