You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by kd...@apache.org on 2019/08/13 17:20:12 UTC

[nifi-registry] branch master updated: NIFIREG-301 Added description to VersionedParameterContext

This is an automated email from the ASF dual-hosted git repository.

kdoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-registry.git


The following commit(s) were added to refs/heads/master by this push:
     new 5fbe0a3  NIFIREG-301 Added description to VersionedParameterContext
5fbe0a3 is described below

commit 5fbe0a380b9b0c4b01f822c4c80e58857f1acea5
Author: Bryan Bende <bb...@apache.org>
AuthorDate: Fri Aug 9 10:02:30 2019 -0400

    NIFIREG-301 Added description to VersionedParameterContext
---
 .../apache/nifi/registry/flow/VersionedParameterContext.java   | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/nifi-registry-core/nifi-registry-data-model/src/main/java/org/apache/nifi/registry/flow/VersionedParameterContext.java b/nifi-registry-core/nifi-registry-data-model/src/main/java/org/apache/nifi/registry/flow/VersionedParameterContext.java
index 5294c61..bb0b837 100644
--- a/nifi-registry-core/nifi-registry-data-model/src/main/java/org/apache/nifi/registry/flow/VersionedParameterContext.java
+++ b/nifi-registry-core/nifi-registry-data-model/src/main/java/org/apache/nifi/registry/flow/VersionedParameterContext.java
@@ -23,6 +23,7 @@ import java.util.Set;
 public class VersionedParameterContext {
 
     private String name;
+    private String description;
     private Set<VersionedParameter> parameters;
 
     @ApiModelProperty("The name of the context")
@@ -34,6 +35,15 @@ public class VersionedParameterContext {
         this.name = name;
     }
 
+    @ApiModelProperty("The description of the parameter context")
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
     @ApiModelProperty("The parameters in the context")
     public Set<VersionedParameter> getParameters() {
         return parameters;