Package org.mockserver.model
Class NottableString
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.NottableString
-
public class NottableString extends ObjectWithJsonToString
- Author:
- jamesdbloom
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NottableString
capitalize()
static List<NottableString>
deserializeNottableStrings(String... strings)
static List<NottableString>
deserializeNottableStrings(List<String> strings)
boolean
equals(Object other)
boolean
equalsIgnoreCase(Object other)
String
getValue()
int
hashCode()
boolean
isNot()
NottableString
lowercase()
static NottableString
not(String value)
static List<String>
serialiseNottableString(List<NottableString> nottableStrings)
static String
serialiseNottableString(NottableString nottableString)
static NottableString
string(String value)
static NottableString
string(String value, Boolean not)
static List<NottableString>
strings(String... values)
static List<NottableString>
strings(Collection<String> values)
String
toString()
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode, key
-
-
-
-
Method Detail
-
deserializeNottableStrings
public static List<NottableString> deserializeNottableStrings(String... strings)
-
deserializeNottableStrings
public static List<NottableString> deserializeNottableStrings(List<String> strings)
-
serialiseNottableString
public static String serialiseNottableString(NottableString nottableString)
-
serialiseNottableString
public static List<String> serialiseNottableString(List<NottableString> nottableStrings)
-
string
public static NottableString string(String value, Boolean not)
-
string
public static NottableString string(String value)
-
not
public static NottableString not(String value)
-
strings
public static List<NottableString> strings(String... values)
-
strings
public static List<NottableString> strings(Collection<String> values)
-
getValue
public String getValue()
-
isNot
public boolean isNot()
-
capitalize
public NottableString capitalize()
-
lowercase
public NottableString lowercase()
-
equalsIgnoreCase
public boolean equalsIgnoreCase(Object other)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classObjectWithReflectiveEqualsHashCodeToString
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObjectWithReflectiveEqualsHashCodeToString
-
toString
public String toString()
- Overrides:
toString
in classObjectWithJsonToString
-
-