Class TestPoint
java.lang.Object
org.opengis.cite.ogcapifeatures10.openapi3.TestPoint
Encapsulates a Test Point with the UriTemplate and predefined replacements.
- Author:
- Lyn Goltz
-
Constructor Summary
ConstructorsConstructorDescriptionTestPoint(String serverUrl, String path, Map<String, com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes) Instantiates a TestPoint with UriTemplate but without predefined replacements.TestPoint(String serverUrl, String path, Map<String, String> predefinedTemplateReplacement, Map<String, com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes) Instantiates a TestPoint with UriTemplate and predefined replacements. -
Method Summary
-
Constructor Details
-
TestPoint
public TestPoint(String serverUrl, String path, Map<String, com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes) Instantiates a TestPoint with UriTemplate but without predefined replacements.- Parameters:
serverUrl- the serverUrl, nevernullpath- the path never,nullcontentMediaTypes- the content media types for the GET operation with response "200", may benull
-
TestPoint
public TestPoint(String serverUrl, String path, Map<String, String> predefinedTemplateReplacement, Map<String, com.reprezen.kaizen.oasparser.model3.MediaType> contentMediaTypes) Instantiates a TestPoint with UriTemplate and predefined replacements.- Parameters:
serverUrl- the serverUrl, nevernullpath- the path, nevernullpredefinedTemplateReplacement- a list of predefined replacements nevernullcontentMediaTypes- the content media types for the GET operation with response "200", may benull
-
-
Method Details
-
getServerUrl
Getter for the field
serverUrl.- Returns:
- the serverUrl never
null
-
getPath
Getter for the field
path.- Returns:
- the path never,
null
-
getPredefinedTemplateReplacement
Getter for the field
predefinedTemplateReplacement.- Returns:
- an unmodifiable mao with predefined replacements, may be empty but never
null
-
getContentMediaTypes
Getter for the field
contentMediaTypes.- Returns:
- the content media types for the GET operation with response "200", may be
null
-
toString
-
equals
-
hashCode
public int hashCode()
-