Package de.firemage.autograder.core
Class Linter
java.lang.Object
de.firemage.autograder.core.Linter
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Linter.BuildercheckFile(UploadedFile file, Path tests, Collection<ProblemType> problemsToReport, Iterable<? extends Check> checks, Consumer<LinterStatus> statusConsumer) checkFile(UploadedFile file, Path tests, List<ProblemType> problemsToReport, Consumer<LinterStatus> statusConsumer) static LinterdefaultLinter(Locale locale) findChecksForProblemTypes(Collection<ProblemType> problems) fluent.bundle.FluentBundletranslateMessage(Translatable message)
-
Method Details
-
defaultLinter
-
builder
-
getFluentBundle
public fluent.bundle.FluentBundle getFluentBundle() -
checkFile
public List<Problem> checkFile(UploadedFile file, Path tests, List<ProblemType> problemsToReport, Consumer<LinterStatus> statusConsumer) throws LinterException, IOException - Throws:
LinterExceptionIOException
-
checkFile
public List<Problem> checkFile(UploadedFile file, Path tests, Collection<ProblemType> problemsToReport, Iterable<? extends Check> checks, Consumer<LinterStatus> statusConsumer) throws LinterException, IOException - Throws:
LinterExceptionIOException
-
translateMessage
-
findChecksForProblemTypes
-