Package uk.ac.starlink.ttools.task
Class TapEndpointParams
- java.lang.Object
-
- uk.ac.starlink.ttools.task.TapEndpointParams
-
public class TapEndpointParams extends java.lang.ObjectManages 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.URLParametergetBaseParameter()Returns the parameter that supplies the base TAP service URL.uk.ac.starlink.vo.EndpointSetgetEndpointSet(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.
-
-
-
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.TaskExceptionAcquires 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
-
-