Package dev.plex.services
Class AbstractService
java.lang.Object
dev.plex.services.AbstractService
- Direct Known Subclasses:
AutoWipeService,BanService,CommandBlockerService,GameRuleService,TimingService,UpdateCheckerService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()
-