mirror of https://github.com/apache/nifi.git
NIFI-441 - Adding SeeAlso, ReadsAttributes and WritesAttributes
This commit is contained in:
parent
efeba19cb6
commit
f63e09b9b8
|
@ -22,7 +22,12 @@ import org.apache.nifi.flowfile.FlowFile;
|
||||||
import org.apache.nifi.processor.*;
|
import org.apache.nifi.processor.*;
|
||||||
import org.apache.nifi.annotation.lifecycle.OnScheduled;
|
import org.apache.nifi.annotation.lifecycle.OnScheduled;
|
||||||
import org.apache.nifi.annotation.documentation.CapabilityDescription;
|
import org.apache.nifi.annotation.documentation.CapabilityDescription;
|
||||||
|
import org.apache.nifi.annotation.documentation.ReadsAttribute;
|
||||||
|
import org.apache.nifi.annotation.documentation.ReadsAttributes;
|
||||||
|
import org.apache.nifi.annotation.documentation.SeeAlso;
|
||||||
import org.apache.nifi.annotation.documentation.Tags;
|
import org.apache.nifi.annotation.documentation.Tags;
|
||||||
|
import org.apache.nifi.annotation.documentation.WritesAttribute;
|
||||||
|
import org.apache.nifi.annotation.documentation.WritesAttributes;
|
||||||
import org.apache.nifi.processor.exception.ProcessException;
|
import org.apache.nifi.processor.exception.ProcessException;
|
||||||
import org.apache.nifi.processor.util.StandardValidators;
|
import org.apache.nifi.processor.util.StandardValidators;
|
||||||
|
|
||||||
|
@ -30,6 +35,9 @@ import java.util.*;
|
||||||
|
|
||||||
@Tags({"example"})
|
@Tags({"example"})
|
||||||
@CapabilityDescription("Provide a description")
|
@CapabilityDescription("Provide a description")
|
||||||
|
@SeeAlso({})
|
||||||
|
@ReadsAttributes({@ReadsAttribute(attribute="", description="")})
|
||||||
|
@WritesAttributes({@WritesAttribute(attribute="", description="")})
|
||||||
public class MyProcessor extends AbstractProcessor {
|
public class MyProcessor extends AbstractProcessor {
|
||||||
|
|
||||||
public static final PropertyDescriptor MY_PROPERTY = new PropertyDescriptor
|
public static final PropertyDescriptor MY_PROPERTY = new PropertyDescriptor
|
||||||
|
|
Loading…
Reference in New Issue