diff options
Diffstat (limited to 'framework/src/main')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/input/ParameterType.java | 4 |
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); } |