Package uk.ac.starlink.ttools.taplint
Class ExampleStage
- java.lang.Object
-
- uk.ac.starlink.ttools.taplint.ExampleStage
-
- All Implemented Interfaces:
Stage
public class ExampleStage extends java.lang.Object implements Stage
Validation stage for testing TAP /examples document. At time of writing the relevant specifications are split between DALI 1.1 and TAP 1.1 (both WDs). An earlier specification was in a TAP Implementation Note.The details may undergo some changes.
- Since:
- 20 May 2016
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description ExampleStage(TapRunner tapRunner, CapabilityHolder capHolder, MetadataHolder metaHolder)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns a short one-line description of this stage.void
run(Reporter reporter, uk.ac.starlink.vo.TapService tapService)
Performs the validation checks for this stage.
-
-
-
Constructor Detail
-
ExampleStage
public ExampleStage(TapRunner tapRunner, CapabilityHolder capHolder, MetadataHolder metaHolder)
Constructor.- Parameters:
tapRunner
- runs TAP queries; if null, no queries attemptedcapHolder
- provides capability metadata at runtimemetaHolder
- provides table metadata at runtime
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:Stage
Returns a short one-line description of this stage.- Specified by:
getDescription
in interfaceStage
- Returns:
- description in imperative mood
-
-