Package uk.ac.starlink.ttools.taplint
Class TapLinter
- java.lang.Object
-
- uk.ac.starlink.ttools.taplint.TapLinter
-
public class TapLinter extends java.lang.Object
Organises validation stages for TAP validator.- Since:
- 6 Jun 2011
- Author:
- Mark Taylor
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MDQ_NAME
Name of the MDQ stage.
-
Constructor Summary
Constructors Constructor Description TapLinter()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description uk.ac.starlink.task.Executable
createExecutable(OutputReporter reporter, uk.ac.starlink.vo.EndpointSet endpointSet, java.util.Set<java.lang.String> stageCodeSet, int maxTestTables)
Creates and returns an executable for TAP validation.java.util.Map<java.lang.String,Stage>
getKnownStages()
Returns an ordered map of the validation stages defined by this class.boolean
isDefault(java.lang.String code)
Indicates whether the stage with a given code is run by default or not.
-
-
-
Field Detail
-
MDQ_NAME
public static final java.lang.String MDQ_NAME
Name of the MDQ stage.- See Also:
- Constant Field Values
-
-
Method Detail
-
getKnownStages
public java.util.Map<java.lang.String,Stage> getKnownStages()
Returns an ordered map of the validation stages defined by this class.- Returns:
- ordered code->stage map
-
isDefault
public boolean isDefault(java.lang.String code)
Indicates whether the stage with a given code is run by default or not.- Parameters:
code
- stage code- Returns:
- true iff the corresponding stage is run by default
-
createExecutable
public uk.ac.starlink.task.Executable createExecutable(OutputReporter reporter, uk.ac.starlink.vo.EndpointSet endpointSet, java.util.Set<java.lang.String> stageCodeSet, int maxTestTables) throws uk.ac.starlink.task.TaskException
Creates and returns an executable for TAP validation.- Parameters:
reporter
- validation message destinationendpointSet
- locations of TAP servicesstageCodeSet
- unordered collection of code strings indicating which stages should be runmaxTestTables
- limit on the number of tables to test, or <=0 for no limit- Returns:
- tap validator executable
- Throws:
uk.ac.starlink.task.TaskException
-
-