Interface DslPropertyConverter
public interface DslPropertyConverter
A hook mechanism to allow external languages and frameworks to convert types that are
not in Java for Spring Cloud Contract to understand.
- Since:
- 2.2.0
- Author:
- Marcin Grzejszczak
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DslPropertyConverterDefault no op implementation.static final DslPropertyConverterA composite over available instances or default if none is present. -
Method Summary
-
Field Details
-
DEFAULT
Default no op implementation. -
INSTANCE
A composite over available instances or default if none is present.
-
-
Method Details
-
instance
- Returns:
- a composite
DslPropertyConverteraround a list ofDslPropertyConverteror a default no op instance
-
testSide
Conversion mechanism for the test side manipulation.- Parameters:
object- object to manipulate- Returns:
- converted object for the test side
-
stubSide
Conversion mechanism for the stub side manipulation.- Parameters:
object- object to manipulate- Returns:
- converted object for the stub side
-