commit | 5fbe0a380b9b0c4b01f822c4c80e58857f1acea5 | [log] [tgz] |
---|---|---|
author | Bryan Bende <bbende@apache.org> | Fri Aug 09 10:02:30 2019 -0400 |
committer | Kevin Doran <kdoran@apache.org> | Tue Aug 13 13:20:07 2019 -0400 |
tree | 76dd7d949fc7d27576af340c0d2c36210fc365a5 | |
parent | 6f19a736c00242affb82a0d326e686be5a2e1b50 [diff] |
NIFIREG-301 Added description to VersionedParameterContext
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 @@ public class VersionedParameterContext { private String name; + private String description; private Set<VersionedParameter> parameters; @ApiModelProperty("The name of the context") @@ -34,6 +35,15 @@ 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;