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, wait
additionalClassesToLookAt
public 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()
SpringCloudContractMetadata
key
in interface SpringCloudContractMetadata
public String description()
SpringCloudContractMetadata
description
in interface SpringCloudContractMetadata
Copyright © 2016–2022 Spring. All rights reserved.