-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #597 from Luro02/main
Implement some things
- Loading branch information
Showing
20 changed files
with
814 additions
and
176 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
autograder-api/src/main/java/de/firemage/autograder/api/AbstractProblem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
package de.firemage.autograder.api; | ||
|
||
import java.util.Optional; | ||
|
||
public interface AbstractProblem { | ||
String getCheckName(); | ||
Translatable getLinterName(); | ||
Translatable getExplanation(); | ||
String getDisplayLocation(); | ||
AbstractCodePosition getPosition(); | ||
String getType(); | ||
default Optional<Integer> getMaximumProblemsForCheck() { | ||
return Optional.empty(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.