public abstract class Activator extends AddOnModule implements ActivatorModel, FireEvent
The Activator always runs in the Background, just overwrite activatorStarts(). To use Activator simply extend from it and hand an instance over to the ActivatorManager.
Modifier and Type | Method and Description |
---|---|
abstract void |
activatorStarts()
This method will be called in a loop.
|
Boolean |
call() |
void |
stop()
stops the activator.
|
getContext, getID
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fire, fire, fire, fire, fire
debug, debug, error, error, getContext
getID, isOwner
debug, debug, error, error, fatal, fatal, warn, warn
exceptionThrown
public abstract void activatorStarts()
public void stop()
Copyright © 2016. All rights reserved.