public interface ActivatorModel extends Identifiable, Callable<Boolean>
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 |
---|---|
Boolean |
call()
it this method returns false (and only if it returns false) it will not get restarted once stopped
|
getID, isOwner
Copyright © 2016. All rights reserved.