NIFI-280 - creating some example to test formatting

Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/9552b189
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/9552b189
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/9552b189

Branch: refs/heads/NIFI-353
Commit: 9552b189c9861d4eb54bb7a2a569e1447c13332a
Parents: 4ab278d
Author: danbress <[email protected]>
Authored: Sat Feb 7 11:51:18 2015 -0500
Committer: danbress <[email protected]>
Committed: Sat Feb 7 11:51:18 2015 -0500

----------------------------------------------------------------------
 .../nifi/documentation/example/FullyDocumentedProcessor.java     | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/9552b189/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedProcessor.java
----------------------------------------------------------------------
diff --git 
a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedProcessor.java
 
b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedProcessor.java
index a30133e..e1b8634 100644
--- 
a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedProcessor.java
+++ 
b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedProcessor.java
@@ -53,6 +53,9 @@ public class FullyDocumentedProcessor extends 
AbstractProcessor {
 
        public static final PropertyDescriptor OPTIONAL_PROPERTY = new 
PropertyDescriptor.Builder()
                        .name("Optional Property").description("This is a 
property you can use or not").required(false).build();
+       
+       public static final PropertyDescriptor TYPE_PROPERTY = new 
PropertyDescriptor.Builder()
+       .name("Type").description("This is the type of something that you can 
choose.  It has several possible values").allowableValues("yes", "no", "maybe", 
"possibly", "not likely", "longer option name").required(true).build();
 
        public static final Relationship REL_SUCCESS = new 
Relationship.Builder().name("success")
                        .description("Successful files").build();
@@ -69,6 +72,7 @@ public class FullyDocumentedProcessor extends 
AbstractProcessor {
                properties.add(RECURSE);
                properties.add(POLLING_INTERVAL);
                properties.add(OPTIONAL_PROPERTY);
+               properties.add(TYPE_PROPERTY);
                this.properties = Collections.unmodifiableList(properties);
 
                final Set<Relationship> relationships = new HashSet<>();

Reply via email to