Package dev.plex.services
Class AbstractService
java.lang.Object
dev.plex.PlexBase
dev.plex.services.AbstractService
- All Implemented Interfaces:
IService
- Direct Known Subclasses:
AutoWipeService
,BanService
,CommandBlockerService
,GameRuleService
,UpdateCheckerService
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private boolean
private int
-
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 boolean asynchronous -
repeating
private boolean repeating -
taskId
private int taskId
-
-
Constructor Details
-
AbstractService
public AbstractService(boolean repeating, boolean async)
-
-
Method Details
-
onStart
public void onStart() -
onEnd
public void onEnd()
-