Class TapLinter
java.lang.Object
uk.ac.starlink.ttools.taplint.TapLinter
Organises validation stages for TAP validator.
- Since:
- 6 Jun 2011
- Author:
- Mark Taylor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuk.ac.starlink.task.ExecutablecreateExecutable(OutputReporter reporter, uk.ac.starlink.util.IOSupplier<uk.ac.starlink.vo.TapService> tapServiceSupplier, Set<String> stageCodeSet, int maxTestTables, Predicate<uk.ac.starlink.vo.TableMeta> tableFilter) Creates and returns an executable for TAP validation.static String[]getAnnouncements(boolean includeCodes) Returns a list of startup announcements with which the taplint application introduces itself.Returns an ordered map of the validation stages defined by this class.booleanIndicates whether the stage with a given code is run by default or not.
-
Field Details
-
MDQ_NAME
-
-
Constructor Details
-
TapLinter
public TapLinter()Constructor.
-
-
Method Details
-
getKnownStages
-
isDefault
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.util.IOSupplier<uk.ac.starlink.vo.TapService> tapServiceSupplier, Set<String> stageCodeSet, int maxTestTables, Predicate<uk.ac.starlink.vo.TableMeta> tableFilter) throws uk.ac.starlink.task.TaskException Creates and returns an executable for TAP validation.- Parameters:
reporter- validation message destinationtapServiceSupplier- supplier of TAP service descriptionstageCodeSet- unordered collection of code strings indicating which stages should be runmaxTestTables- limit on the number of tables to test, or <=0 for no limittableFilter- filter for tables to receive testing, or null for no restriction- Returns:
- tap validator executable
- Throws:
uk.ac.starlink.task.TaskException
-
getAnnouncements
Returns a list of startup announcements with which the taplint application introduces itself.- Parameters:
includeCodes- if true include a summary of taplint report codes- Returns:
- announcement lines
-