summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api/src/main/java/org')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java52
1 files changed, 33 insertions, 19 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java
index 6803120341..1b44d727cd 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java
@@ -2,6 +2,7 @@ package org.openecomp.sdc.fe.config;
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
import org.openecomp.sdc.common.api.BasicConfiguration;
@@ -23,29 +24,20 @@ public class DesignersConfiguration extends BasicConfiguration {
public static class Designer {
- private String displayName;
+ private String designerId;
private String designerHost;
private Integer designerPort;
private String designerPath;
private String designerStateUrl;
private String designerProtocol;
- private List<String> designerButtonLocation;
- private List<String> designerTabPresentation;
-
- public List<String> getDesignerButtonLocation() {
- return designerButtonLocation;
- }
+ private Map<String, DesignerDisplayOptions> designerDisplayOptions;
- public void setDesignerButtonLocation(List<String> designerButtonLocation) {
- this.designerButtonLocation = designerButtonLocation;
+ public Map<String, DesignerDisplayOptions> getDesignerDisplayOptions() {
+ return designerDisplayOptions;
}
- public List<String> getDesignerTabPresentation() {
- return designerTabPresentation;
- }
-
- public void setDesignerTabPresentation(List<String> designerTabPresentation) {
- this.designerTabPresentation = designerTabPresentation;
+ public void setDesignerDisplayOptions(Map<String, DesignerDisplayOptions> designerDisplayOptions) {
+ this.designerDisplayOptions = designerDisplayOptions;
}
public String getDesignerStateUrl() {
@@ -64,12 +56,12 @@ public class DesignersConfiguration extends BasicConfiguration {
this.designerProtocol = designerProtocol;
}
- public String getDisplayName() {
- return displayName;
+ public String getDesignerId() {
+ return designerId;
}
- public void setDisplayName(String displayName) {
- this.displayName = displayName;
+ public void setDesignerId(String designerId) {
+ this.designerId = designerId;
}
public String getDesignerHost() {
@@ -98,6 +90,28 @@ public class DesignersConfiguration extends BasicConfiguration {
}
+ public static class DesignerDisplayOptions {
+
+ private String displayName;
+ private List<String> validResourceTypes;
+
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ public void setDisplayName(String displayName) {
+ this.displayName = displayName;
+ }
+
+ public List<String> getValidResourceTypes() {
+ return validResourceTypes;
+ }
+
+ public void setValidResourceTypes(List<String> validResourceTypes) {
+ this.validResourceTypes = validResourceTypes;
+ }
+ }
+
}