public enum ParamTypes extends java.lang.Enum<ParamTypes>
| Enum Constant and Description |
|---|
BIGDECIMAL |
BOOLEAN |
BYTE |
DEFAULT |
DOUBLE |
FLOAT |
INTEGER |
LONG |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
compareParam(Param param) |
static ParamTypes |
fromString(java.lang.String paramType) |
abstract java.lang.String |
getDefaultMessageBody(Param param) |
java.lang.String |
getType() |
abstract java.lang.Object |
getValidMockRequestBody(Param param) |
static ParamTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParamTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParamTypes BOOLEAN
public static final ParamTypes LONG
public static final ParamTypes INTEGER
public static final ParamTypes BYTE
public static final ParamTypes FLOAT
public static final ParamTypes DOUBLE
public static final ParamTypes BIGDECIMAL
public static final ParamTypes DEFAULT
public static ParamTypes[] values()
for (ParamTypes c : ParamTypes.values()) System.out.println(c);
public static ParamTypes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getType()
public abstract java.lang.Object getValidMockRequestBody(Param param)
public abstract java.lang.String getDefaultMessageBody(Param param)
public abstract boolean compareParam(Param param)
public static ParamTypes fromString(java.lang.String paramType)
Copyright © 2021. All Rights Reserved.