public class TapServiceParams extends Object
Constructor and Description |
---|
TapServiceParams(String baseParamName,
boolean readCapabilitiesDflt)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
URLParameter |
getBaseParameter()
Returns the parameter that supplies the base TAP service URL.
|
List<Parameter<?>> |
getInterfaceParameters()
Returns the parameters used to select the TAP interface,
including authentication options.
|
List<URLParameter> |
getOtherParameters()
Returns a list of other parameters managed by this object
that specify endpoints for TAP-related services.
|
TapService |
getTapService(Environment env)
Acquires a TapService instance from the environment using the
parameters managed by this object.
|
public TapServiceParams(String baseParamName, boolean readCapabilitiesDflt)
baseParamName
- name of the parameter that specifies the
base TAP URLreadCapabilitiesDflt
- if true, the default behaviour involves
reading the service's capabilities document;
if false, the default behaviour assumes
standard endpointspublic URLParameter getBaseParameter()
public List<Parameter<?>> getInterfaceParameters()
public List<URLParameter> getOtherParameters()
public TapService getTapService(Environment env) throws TaskException
env
- execution environmentTaskException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.