Package org.mockserver.model
Class NottableOptionalString
java.lang.Object
org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.model.ObjectWithJsonToString
org.mockserver.model.NottableString
org.mockserver.model.NottableOptionalString
- All Implemented Interfaces:
Comparable<NottableString>
- Author:
- jamesdbloom
-
Field Summary
FieldsFields inherited from class org.mockserver.model.NottableString
NOT_CHAR -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NottableOptionalStringnotOptional(String value) static NottableOptionalStringstatic NottableOptionalStringstatic NottableOptionalStringoptionalString(String value) Deprecated.use `optional` insteadMethods inherited from class org.mockserver.model.NottableString
compareTo, deserializeNottableStrings, deserializeNottableStrings, equals, equalsIgnoreCase, getParameterStyle, getSchemaType, getValue, hashCode, isBlank, isNot, lowercase, matches, not, serialiseNottableString, serialiseNottableStrings, string, string, strings, strings, toString, withSchemaType, withStyleMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Field Details
-
OPTIONAL_CHAR
public static final char OPTIONAL_CHAR- See Also:
-
-
Method Details
-
optional
-
optional
-
optionalString
Deprecated.use `optional` instead -
notOptional
-
isOptional
public boolean isOptional()- Overrides:
isOptionalin classNottableString
-