Package page.codeberg.friedolyn
Interface Friedolyn.FriedolynListener
- Enclosing class:
Friedolyn
public static interface Friedolyn.FriedolynListener
Subscribes to status changes of the periodic
grades fetching
on the respective
Friedolyn
object.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPaused()
Will be called wheneverFriedolyn.pausePeriodicGradesFetch()
is called by anyone on the respectiveFriedolyn
object.void
Will be called wheneverFriedolyn.resumePeriodicGradesFetch()
is called by anyone on the respectiveFriedolyn
object.void
Will be called whenevergrades fetching has begun
on the respectiveFriedolyn
object.void
Will be called whenever the currentgrades fetching run
on the respectiveFriedolyn
object has finished, i.e.void
Will be called wheneverFriedolyn.startPeriodicGradesFetch()
is called by anyone on the respectiveFriedolyn
object.void
Will be called wheneverFriedolyn.stopPeriodicGradesFetch()
orFriedolyn.finish()
is called by anyone on the respectiveFriedolyn
object.
-
Method Details
-
onStarted
void onStarted()Will be called wheneverFriedolyn.startPeriodicGradesFetch()
is called by anyone on the respectiveFriedolyn
object. -
onRunning
void onRunning()Will be called whenevergrades fetching has begun
on the respectiveFriedolyn
object. -
onRunningDone
void onRunningDone()Will be called whenever the currentgrades fetching run
on the respectiveFriedolyn
object has finished, i.e. further runs may be scheduled (do not confuse this method withonStopped()
). The invocation of this method does not imply that the grades have been fetched successfully. -
onPaused
void onPaused()Will be called wheneverFriedolyn.pausePeriodicGradesFetch()
is called by anyone on the respectiveFriedolyn
object. -
onResumed
void onResumed()Will be called wheneverFriedolyn.resumePeriodicGradesFetch()
is called by anyone on the respectiveFriedolyn
object. -
onStopped
void onStopped()Will be called wheneverFriedolyn.stopPeriodicGradesFetch()
orFriedolyn.finish()
is called by anyone on the respectiveFriedolyn
object.
-