Class TapEndpointParams


  • public class TapEndpointParams
    extends java.lang.Object
    Manages a collection of parameters used to generate a TAP EndpointSet.
    Since:
    9 Aug 2016
    Author:
    Mark Taylor
    • Constructor Summary

      Constructors 
      Constructor Description
      TapEndpointParams​(java.lang.String baseParamName)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      uk.ac.starlink.task.URLParameter getBaseParameter()
      Returns the parameter that supplies the base TAP service URL.
      uk.ac.starlink.vo.EndpointSet getEndpointSet​(uk.ac.starlink.task.Environment env)
      Acquires an EndpointSet instance from the environment using the parameters managed by this object.
      uk.ac.starlink.task.URLParameter[] getOtherParameters()
      Returns a list of other parameters managed by this object that specify endpoints for TAP-related services.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TapEndpointParams

        public TapEndpointParams​(java.lang.String baseParamName)
        Constructor.
        Parameters:
        baseParamName - name of the parameter that specifies the base TAP URL
    • Method Detail

      • getBaseParameter

        public uk.ac.starlink.task.URLParameter getBaseParameter()
        Returns the parameter that supplies the base TAP service URL.
        Returns:
        service URL parameter
      • getOtherParameters

        public uk.ac.starlink.task.URLParameter[] getOtherParameters()
        Returns a list of other parameters managed by this object that specify endpoints for TAP-related services.
        Returns:
        list of parameters excluding the service URL
      • getEndpointSet

        public uk.ac.starlink.vo.EndpointSet getEndpointSet​(uk.ac.starlink.task.Environment env)
                                                     throws uk.ac.starlink.task.TaskException
        Acquires an EndpointSet instance from the environment using the parameters managed by this object.
        Parameters:
        env - execution environment
        Returns:
        endpoint set
        Throws:
        uk.ac.starlink.task.TaskException