public class ContractVerifierMetadata extends Object implements SpringCloudContractMetadata
| Modifier and Type | Field and Description |
|---|---|
static String |
METADATA_KEY
Metadata entry in the contract.
|
| Constructor and Description |
|---|
ContractVerifierMetadata() |
ContractVerifierMetadata(String tool) |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Short description of the metadata.
|
static ContractVerifierMetadata |
fromMetadata(Map<String,Object> metadata) |
String |
getTool() |
String |
key()
Name of the key under which this metadata entry will be present in contract's
metadata.
|
void |
setTool(String tool) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadditionalClassesToLookAtpublic static final String METADATA_KEY
public ContractVerifierMetadata(String tool)
public ContractVerifierMetadata()
public String getTool()
public void setTool(String tool)
@NonNull public static ContractVerifierMetadata fromMetadata(Map<String,Object> metadata)
public String key()
SpringCloudContractMetadatakey in interface SpringCloudContractMetadatapublic String description()
SpringCloudContractMetadatadescription in interface SpringCloudContractMetadataCopyright © 2016–2020 Spring. All rights reserved.