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 TypeMethodDescriptionvoidonPaused()Will be called wheneverFriedolyn.pausePeriodicGradesFetch()is called by anyone on the respectiveFriedolynobject.voidWill be called wheneverFriedolyn.resumePeriodicGradesFetch()is called by anyone on the respectiveFriedolynobject.voidWill be called whenevergrades fetching has begunon the respectiveFriedolynobject.voidWill be called whenever the currentgrades fetching runon the respectiveFriedolynobject has finished, i.e.voidWill be called wheneverFriedolyn.startPeriodicGradesFetch()is called by anyone on the respectiveFriedolynobject.voidWill be called wheneverFriedolyn.stopPeriodicGradesFetch()orFriedolyn.finish()is called by anyone on the respectiveFriedolynobject.
-
Method Details
-
onStarted
void onStarted()Will be called wheneverFriedolyn.startPeriodicGradesFetch()is called by anyone on the respectiveFriedolynobject. -
onRunning
void onRunning()Will be called whenevergrades fetching has begunon the respectiveFriedolynobject. -
onRunningDone
void onRunningDone()Will be called whenever the currentgrades fetching runon the respectiveFriedolynobject 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 respectiveFriedolynobject. -
onResumed
void onResumed()Will be called wheneverFriedolyn.resumePeriodicGradesFetch()is called by anyone on the respectiveFriedolynobject. -
onStopped
void onStopped()Will be called wheneverFriedolyn.stopPeriodicGradesFetch()orFriedolyn.finish()is called by anyone on the respectiveFriedolynobject.
-