public class SingleContractMetadata extends Object
Constructor and Description |
---|
SingleContractMetadata(org.springframework.cloud.contract.spec.Contract currentContract,
ContractMetadata contractMetadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluatesToJson() |
Collection<org.springframework.cloud.contract.spec.Contract> |
getAllContracts() |
org.springframework.cloud.contract.spec.Contract |
getContract() |
ContractMetadata |
getContractMetadata() |
String |
getDefinedInputStubContentType() |
String |
getDefinedInputTestContentType() |
String |
getDefinedOutputStubContentType() |
String |
getDefinedOutputTestContentType() |
ContentType |
getEvaluatedInputStubContentType() |
ContentType |
getEvaluatedOutputStubContentType() |
ContentType |
getEvaluatedOutputTestContentType() |
ContentType |
getInputStubContentType() |
ContentType |
getInputTestContentType() |
ContentType |
getOutputTestContentType() |
boolean |
isHttp() |
boolean |
isIgnored() |
boolean |
isInProgress() |
boolean |
isJson() |
boolean |
isMessaging() |
boolean |
isXml() |
String |
methodName() |
public SingleContractMetadata(org.springframework.cloud.contract.spec.Contract currentContract, ContractMetadata contractMetadata)
public boolean isJson()
public boolean evaluatesToJson()
public boolean isIgnored()
public boolean isXml()
public boolean isHttp()
public boolean isInProgress()
public boolean isMessaging()
public String methodName()
public ContractMetadata getContractMetadata()
public org.springframework.cloud.contract.spec.Contract getContract()
public Collection<org.springframework.cloud.contract.spec.Contract> getAllContracts()
public String getDefinedInputStubContentType()
public ContentType getInputStubContentType()
public ContentType getEvaluatedInputStubContentType()
public String getDefinedOutputStubContentType()
public ContentType getEvaluatedOutputStubContentType()
public String getDefinedInputTestContentType()
public ContentType getInputTestContentType()
public String getDefinedOutputTestContentType()
public ContentType getOutputTestContentType()
public ContentType getEvaluatedOutputTestContentType()
Copyright © 2016–2021 Spring. All rights reserved.