Class OptionalProperty
java.lang.Object
org.springframework.cloud.contract.spec.internal.OptionalProperty
- All Implemented Interfaces:
Serializable,CanBeDynamic
Represents a property that may or may not be there.
- Since:
- 1.0.0
- See Also:
-
Constructor Details
-
OptionalProperty
-
-
Method Details
-
optionalPattern
String version of a regular expression that wraps the provided value in an optional function.- Returns:
- pattern wrapped in optional regular expresion
-
value
-
optionalPatternValue
-
toString
-
generateConcreteValue
- Specified by:
generateConcreteValuein interfaceCanBeDynamic- Returns:
- a generated, concrete value.
-
getValue
-