CapabilityHolder
, Stage
public class CapabilityStage extends java.lang.Object implements Stage, CapabilityHolder
Constructor | Description |
---|---|
CapabilityStage() |
Modifier and Type | Method | Description |
---|---|---|
static uk.ac.starlink.vo.TapCapability |
checkCapabilities(Reporter reporter,
java.net.URL capUrl) |
Performs validation checks on a TAPRegExt document at a given URL.
|
uk.ac.starlink.vo.TapCapability |
getCapability() |
Returns the TAP capability record obtained by the last run of this stage.
|
java.lang.String |
getDescription() |
Returns a short one-line description of this stage.
|
static void |
main(java.lang.String[] args) |
Can be used for standalone validation of a Capabilities document
at a given URL.
|
void |
run(Reporter reporter,
uk.ac.starlink.vo.EndpointSet endpointSet) |
Performs the validation checks for this stage.
|
public java.lang.String getDescription()
Stage
getDescription
in interface Stage
public uk.ac.starlink.vo.TapCapability getCapability()
getCapability
in interface CapabilityHolder
public void run(Reporter reporter, uk.ac.starlink.vo.EndpointSet endpointSet)
Stage
public static uk.ac.starlink.vo.TapCapability checkCapabilities(Reporter reporter, java.net.URL capUrl)
reporter
- destination for validation messagescapUrl
- URL of a Capabilities documentpublic static void main(java.lang.String[] args) throws java.net.MalformedURLException
java.net.MalformedURLException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.