aboutsummaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2017-09-11 03:53:47 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-11 03:53:47 +0000
commitaed32c570a103c70456371179a410e45d2f42bf3 (patch)
tree8a5443ca236b7b41d2452bdf6897bdea33dc4d55 /framework
parentbf3937c6eaa4b479b5f54879e5a56b8e86ad3af4 (diff)
parent635d08899576ff360a7ca52d6b2f17076670b6fc (diff)
Merge "Add TEXT parameter type"
Diffstat (limited to 'framework')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/input/ParameterType.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java b/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java
index c93d92fe..2625883e 100644
--- a/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java
+++ b/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java
@@ -30,7 +30,7 @@ public enum ParameterType {
/**
* YAML file.
*/
- YAML, STRING, LONG,
+ YAML, STRING, TEXT, LONG,
/**
* URL location.
*/
@@ -66,6 +66,8 @@ public enum ParameterType {
return BINARY;
} else if (UUID.name().equalsIgnoreCase(name)) {
return UUID;
+ } else if (TEXT.name().equalsIgnoreCase(name)) {
+ return TEXT;
} else {
throw new OnapCommandInvalidParameterType(name);
}