NIFI-475: - Adding support to create controller services inline when editing a components properties.
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/31ec55c3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/31ec55c3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/31ec55c3 Branch: refs/heads/NIFI-475 Commit: 31ec55c38c5434070ee22d4ca5602ee38ea547f8 Parents: 9682d8a Author: Matt Gilman <[email protected]> Authored: Mon Apr 6 16:29:27 2015 -0400 Committer: Matt Gilman <[email protected]> Committed: Mon Apr 6 16:29:27 2015 -0400 ---------------------------------------------------------------------- .../org/apache/nifi/web/api/dto/PropertyDescriptorDTO.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/31ec55c3/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/PropertyDescriptorDTO.java ---------------------------------------------------------------------- diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/PropertyDescriptorDTO.java b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/PropertyDescriptorDTO.java index d10a324..ecde255 100644 --- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/PropertyDescriptorDTO.java +++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/PropertyDescriptorDTO.java @@ -34,7 +34,7 @@ public class PropertyDescriptorDTO { private boolean sensitive; private boolean dynamic; private boolean supportsEl; - private boolean identifiesControllerService; + private String identifiesControllerService; /** * The set of allowable values for this property. If empty then the @@ -158,15 +158,16 @@ public class PropertyDescriptorDTO { } /** - * Whether this descriptor represents a controller service. + * If this property identifies a controller service, this returns the + * fully qualified type, null otherwise. * * @return */ - public boolean isIdentifiesControllerService() { + public String getIdentifiesControllerService() { return identifiesControllerService; } - public void setIdentifiesControllerService(boolean identifiesControllerService) { + public void setIdentifiesControllerService(String identifiesControllerService) { this.identifiesControllerService = identifiesControllerService; }
