Class BasicEndpointValidator

java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.config.BasicEndpointValidator
All Implemented Interfaces:
EndpointValidator
Direct Known Subclasses:
RuntimeSetupEndpointValidator

public class BasicEndpointValidator extends Object implements EndpointValidator
A basic endpoint holder validator just passing through all input data.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • BasicEndpointValidator

      public BasicEndpointValidator()
  • Method Details

    • validateHost

      public String validateHost(String host, EndpointHolder holder)
      Description copied from interface: EndpointValidator
      Validates the host.
      Specified by:
      validateHost in interface EndpointValidator
      Parameters:
      host - the original host
      holder - the querying endpoint holder
      Returns:
      the validated host
    • validatePort

      public int validatePort(int port, EndpointHolder holder)
      Description copied from interface: EndpointValidator
      Validates the port.
      Specified by:
      validatePort in interface EndpointValidator
      Parameters:
      port - the original port
      holder - the querying endpoint holder
      Returns:
      the validated port
    • validateSchema

      public de.iip_ecosphere.platform.support.Schema validateSchema(de.iip_ecosphere.platform.support.Schema schema, EndpointHolder holder)
      Description copied from interface: EndpointValidator
      Validates the schema.
      Specified by:
      validateSchema in interface EndpointValidator
      Parameters:
      schema - the original schema
      holder - the querying endpoint holder
      Returns:
      the validated schema
    • validatePath

      public String validatePath(String path, EndpointHolder holder)
      Description copied from interface: EndpointValidator
      Validates the path.
      Specified by:
      validatePath in interface EndpointValidator
      Parameters:
      path - the original path
      holder - the querying endpoint holder
      Returns:
      the validated path