Package org.mockserver.model
Class NottableSchemaString
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.NottableString
-
- org.mockserver.model.NottableSchemaString
-
- All Implemented Interfaces:
Comparable<NottableString>
public class NottableSchemaString extends NottableString
- Author:
- jamesdbloom
-
-
Field Summary
-
Fields inherited from class org.mockserver.model.NottableString
NOT_CHAR
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(String json)booleanmatches(MockServerLogger mockServerLogger, MatchDifference context, String json)booleanmatches(MockServerLogger mockServerLogger, MatchDifference context, List<NottableString> json)static NottableSchemaStringnotSchema(String value)static NottableSchemaStringschemaString(String value)static NottableSchemaStringschemaString(String value, Boolean not)StringtoString()-
Methods inherited from class org.mockserver.model.NottableString
compareTo, deserializeNottableStrings, deserializeNottableStrings, equals, equalsIgnoreCase, getParameterStyle, getSchemaType, getValue, hashCode, isBlank, isNot, isOptional, lowercase, not, serialiseNottableString, serialiseNottableStrings, string, string, strings, strings, withSchemaType, withStyle
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
-
-
-
Method Detail
-
schemaString
public static NottableSchemaString schemaString(String value, Boolean not)
-
schemaString
public static NottableSchemaString schemaString(String value)
-
notSchema
public static NottableSchemaString notSchema(String value)
-
matches
public boolean matches(MockServerLogger mockServerLogger, MatchDifference context, List<NottableString> json)
-
matches
public boolean matches(String json)
- Overrides:
matchesin classNottableString
-
matches
public boolean matches(MockServerLogger mockServerLogger, MatchDifference context, String json)
-
toString
public String toString()
- Overrides:
toStringin classNottableString
-
-