java.lang.Object
org.opengis.cite.ogcapiprocesses10.openapi3.TestPoint

public class TestPoint extends Object
Encapsulates a Test Point with the UriTemplate and predefined replacements.
Author:
Lyn Goltz
  • 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, never null
      path - the path never, null
      contentMediaTypes - the content media types for the GET operation with response "200", may be null
    • 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, never null
      path - the path, never null
      predefinedTemplateReplacement - a list of predefined replacements never null
      contentMediaTypes - the content media types for the GET operation with response "200", may be null
  • Method Details

    • getServerUrl

      public String getServerUrl()

      Getter for the field serverUrl.

      Returns:
      the serverUrl never null
    • getPath

      public String getPath()

      Getter for the field path.

      Returns:
      the path never, null
    • getPredefinedTemplateReplacement

      public Map<String,String> getPredefinedTemplateReplacement()

      Getter for the field predefinedTemplateReplacement.

      Returns:
      an unmodifiable mao with predefined replacements, may be empty but never null
    • getContentMediaTypes

      public Map<String,com.reprezen.kaizen.oasparser.model3.MediaType> getContentMediaTypes()

      Getter for the field contentMediaTypes.

      Returns:
      the content media types for the GET operation with response "200", may be null
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object