Class DslProperty<T>
- java.lang.Object
-
- org.springframework.cloud.contract.spec.internal.DslProperty<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Body,ClientDslProperty,Cookie,Header,Input.BodyType,MatchingStrategy,Multipart,NotToEscapePattern,QueryParameter,RegexProperty,ServerDslProperty,Url
public class DslProperty<T> extends Object implements Serializable
Represents an element of a DSL that can contain client or sever side values.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DslProperty(T singleValue)DslProperty(T clientValue, T serverValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)TgetClientValue()TgetServerValue()inthashCode()booleanisSingleValue()StringtoString()
-