mirror of https://github.com/apache/nifi.git
NIFI-309 adding javadoc
This commit is contained in:
parent
90fd0edaf8
commit
72153c9453
|
@ -36,6 +36,15 @@ import java.lang.annotation.Target;
|
|||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
public @interface ReadsAttribute {
|
||||
/**
|
||||
* The FlowFile attribute that is being read
|
||||
* @return
|
||||
*/
|
||||
public String attribute();
|
||||
|
||||
/**
|
||||
* The description of how the attribute is being used
|
||||
* @return
|
||||
*/
|
||||
public String description() default "";
|
||||
}
|
||||
|
|
|
@ -35,5 +35,9 @@ import java.lang.annotation.Target;
|
|||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
public @interface ReadsAttributes {
|
||||
/**
|
||||
* A list of attributes that may be read
|
||||
* @return
|
||||
*/
|
||||
public ReadsAttribute[] value();
|
||||
}
|
||||
|
|
|
@ -36,6 +36,16 @@ import java.lang.annotation.Target;
|
|||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
public @interface WritesAttribute {
|
||||
|
||||
/**
|
||||
* The FlowFile attribute that is being created or updated
|
||||
* @return
|
||||
*/
|
||||
public String attribute();
|
||||
|
||||
/**
|
||||
* A description of what is being written to the FlowFile attribute
|
||||
* @return
|
||||
*/
|
||||
public String description() default "";
|
||||
}
|
||||
|
|
|
@ -36,5 +36,9 @@ import java.lang.annotation.Target;
|
|||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
public @interface WritesAttributes {
|
||||
/**
|
||||
* A list of FlowFile attributes that may be written or updated
|
||||
* @return
|
||||
*/
|
||||
public WritesAttribute[] value();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue