Package page.codeberg.friedolyn
Enum Class Friedolyn.Status
- All Implemented Interfaces:
Serializable,Comparable<Friedolyn.Status>,Constable
- Enclosing class:
Friedolyn
Whether the
Friedolyn.fetchGradesTask is currently running or not and what this
means for calling various methods. The possible states are:
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere are no indications that anything would oppose theexecutionof theFriedolyn.fetchGradesTaskat the current point in time.Theexecutionof theFriedolyn.fetchGradesTaskhas been started and is currently running.Theexecutionof theFriedolyn.fetchGradesTaskwas requested but has not yet started. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Friedolyn.StatusReturns the enum constant of this class with the specified name.static Friedolyn.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READY
There are no indications that anything would oppose theexecutionof theFriedolyn.fetchGradesTaskat the current point in time. Starting the periodic fetching of the grades is allowed. -
PAUSED
Theexecutionof theFriedolyn.fetchGradesTaskwas started but has beenpaused.Resumingthe periodic fetching of the grades is allowed. Do not callFriedolyn.startPeriodicGradesFetch()in this state. -
SCHEDULED
Theexecutionof theFriedolyn.fetchGradesTaskwas requested but has not yet started. Do not callFriedolyn.startPeriodicGradesFetch()in this state. -
RUNNING
Theexecutionof theFriedolyn.fetchGradesTaskhas been started and is currently running. Do not callFriedolyn.startPeriodicGradesFetch()in this state.
-
-
Field Details
-
label
-
-
Constructor Details
-
Status
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-