diff options
Diffstat (limited to 'framework/src/main/java')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/input/ParameterType.java | 6 |
1 files changed, 3 insertions, 3 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 2625883e..791d7e42 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, TEXT, LONG, + YAML, STRING, TEXT, DIGIT, /** * URL location. */ @@ -52,8 +52,8 @@ public enum ParameterType { return YAML; } else if (STRING.name().equalsIgnoreCase(name)) { return STRING; - } else if (LONG.name().equalsIgnoreCase(name)) { - return LONG; + } else if (DIGIT.name().equalsIgnoreCase(name)) { + return DIGIT; } else if (URL.name().equalsIgnoreCase(name)) { return URL; } else if (BOOL.name().equalsIgnoreCase(name)) { |