| Constructor and Description |
|---|
TestPoint(com.sun.jersey.api.uri.UriTemplate uriTemplate,
Map<String,com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes)
Instantiates a TestPoint with UriTemplate but without defined replacements.
|
TestPoint(com.sun.jersey.api.uri.UriTemplate uriTemplate,
Map<String,String> templateReplacement,
Map<String,com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes)
Instantiates a TestPoint with UriTemplate and predefined replacements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRequirementClasses(List<String> requirementClasses)
Adds the requirement classes the server conforms to
|
void |
addTemplateReplacement(String key,
String value)
Adds a new template replacement
|
String |
createUri()
Creates an URI from the template with the replacement.
|
boolean |
equals(Object o) |
Map<String,com.reprezen.kaizen.oasparser.model3.MediaType> |
getContentMediaTypes() |
List<String> |
getRequirementClasses() |
Map<String,String> |
getTemplateReplacement() |
com.sun.jersey.api.uri.UriTemplate |
getUriTemplate() |
int |
hashCode() |
String |
toString() |
public TestPoint(com.sun.jersey.api.uri.UriTemplate uriTemplate,
Map<String,com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes)
uriTemplate - never nullcontentMediaTypes - the content media types for the GET operation with response "200", may be nullpublic TestPoint(com.sun.jersey.api.uri.UriTemplate uriTemplate,
Map<String,String> templateReplacement,
Map<String,com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes)
uriTemplate - never nulltemplateReplacement - may be nullcontentMediaTypes - the content media types for the GET operation with response "200", may be nullpublic com.sun.jersey.api.uri.UriTemplate getUriTemplate()
nullpublic Map<String,String> getTemplateReplacement()
nullpublic void addTemplateReplacement(String key, String value)
key - the key of the template, never nullvalue - the value of the template, never nullpublic List<String> getRequirementClasses()
null if the conformance classes are
not requestedpublic void addRequirementClasses(List<String> requirementClasses)
requirementClasses - never nullpublic Map<String,com.reprezen.kaizen.oasparser.model3.MediaType> getContentMediaTypes()
nullpublic String createUri()
nullCopyright © 2018 Open Geospatial Consortium. All rights reserved.