Package dev.plex.services
Class AbstractService
java.lang.Object
dev.plex.services.AbstractService
- Direct Known Subclasses:
AutoWipeService
,BanService
,CommandBlockerService
,GameRuleService
,TimingService
,UpdateCheckerService
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final boolean
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.plex.services.IService
repeatInSeconds, run
-
Field Details
-
asynchronous
private final boolean asynchronous -
repeating
private final boolean repeating
-
-
Constructor Details
-
AbstractService
public AbstractService(boolean repeating, boolean async)
-
-
Method Details
-
onStart
public void onStart() -
onEnd
public void onEnd()
-