Package org.mockserver.model
Class NottableString
java.lang.Object
org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.model.ObjectWithJsonToString
org.mockserver.model.NottableString
- All Implemented Interfaces:
Comparable<NottableString>
- Direct Known Subclasses:
NottableOptionalString,NottableSchemaString
- Author:
- jamesdbloom
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(NottableString other) static List<NottableString>deserializeNottableStrings(String... strings) static List<NottableString>deserializeNottableStrings(List<String> strings) booleanbooleanequalsIgnoreCase(Object other) getValue()inthashCode()booleanisBlank()booleanisNot()booleanbooleanstatic NottableStringstatic StringserialiseNottableString(NottableString nottableString) serialiseNottableStrings(Collection<NottableString> nottableStrings) static NottableStringstatic NottableStringstatic List<NottableString>static List<NottableString>strings(Collection<String> values) toString()withSchemaType(String schemaType) withStyle(ParameterStyle style) Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Field Details
-
NOT_CHAR
public static final char NOT_CHAR- See Also:
-
-
Method Details
-
deserializeNottableStrings
-
deserializeNottableStrings
-
serialiseNottableString
-
serialiseNottableStrings
-
string
-
string
-
not
-
strings
-
strings
-
getValue
-
isNot
public boolean isNot() -
isOptional
public boolean isOptional() -
getParameterStyle
-
withStyle
-
getSchemaType
-
withSchemaType
-
lowercase
-
equalsIgnoreCase
-
isBlank
public boolean isBlank() -
matches
-
equals
- Overrides:
equalsin classObjectWithReflectiveEqualsHashCodeToString
-
hashCode
public int hashCode()- Overrides:
hashCodein classObjectWithReflectiveEqualsHashCodeToString
-
toString
- Overrides:
toStringin classObjectWithJsonToString
-
compareTo
- Specified by:
compareToin interfaceComparable<NottableString>
-