public class TapLinter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MDQ_NAME
Name of the MDQ stage.
|
Constructor and Description |
---|
TapLinter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Executable |
createExecutable(OutputReporter reporter,
TapService tapService,
Set<String> stageCodeSet,
int maxTestTables,
java.util.function.Predicate<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.
|
Map<String,Stage> |
getKnownStages()
Returns an ordered map of the validation stages defined by this class.
|
boolean |
isDefault(String code)
Indicates whether the stage with a given code is run by default or not.
|
public static final String MDQ_NAME
public Map<String,Stage> getKnownStages()
public boolean isDefault(String code)
code
- stage codepublic Executable createExecutable(OutputReporter reporter, TapService tapService, Set<String> stageCodeSet, int maxTestTables, java.util.function.Predicate<TableMeta> tableFilter) throws TaskException
reporter
- validation message destinationtapService
- 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 restrictionTaskException
public static String[] getAnnouncements(boolean includeCodes)
includeCodes
- if true include a summary of taplint report codesCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.