Package de.firemage.autograder.core
Enum-Klasse ProblemPriority
- Alle implementierten Schnittstellen:
Serializable,Comparable<ProblemPriority>,Constable
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum-Konstanten - Übersicht
Enum-KonstantenEnum-KonstanteBeschreibungProblems that will lose you points, but don't indicate severe design problems.Problems that will most likely not impact your grade directly, if there are not too many of them.Problems that are as severe as 'SEVERE' problems, but there may be cases where it is fine to use a specific cases and those cases are not reliably captured by the check.Problems that must be fixed or the student may lose many points. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ProblemPriorityGibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static ProblemPriority[]values()Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
SEVERE
Problems that must be fixed or the student may lose many points. Such problems indicate severe architectural issues, severe conflicts with OOP design principles or usage of reflection. -
POSSIBLE_SEVERE
Problems that are as severe as 'SEVERE' problems, but there may be cases where it is fine to use a specific cases and those cases are not reliably captured by the check. -
FIX_RECOMMENDED
Problems that will lose you points, but don't indicate severe design problems. -
INFO
Problems that will most likely not impact your grade directly, if there are not too many of them.
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-