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 theexecution
of theFriedolyn.fetchGradesTask
at the current point in time.Theexecution
of theFriedolyn.fetchGradesTask
has been started and is currently running.Theexecution
of theFriedolyn.fetchGradesTask
was requested but has not yet started. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Friedolyn.Status
Returns 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 theexecution
of theFriedolyn.fetchGradesTask
at the current point in time. Starting the periodic fetching of the grades is allowed. -
PAUSED
Theexecution
of theFriedolyn.fetchGradesTask
was started but has beenpaused
.Resuming
the periodic fetching of the grades is allowed. Do not callFriedolyn.startPeriodicGradesFetch()
in this state. -
SCHEDULED
Theexecution
of theFriedolyn.fetchGradesTask
was requested but has not yet started. Do not callFriedolyn.startPeriodicGradesFetch()
in this state. -
RUNNING
Theexecution
of theFriedolyn.fetchGradesTask
has 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
-