This commit is contained in:
Ziver Koc 2015-05-19 15:52:00 +00:00
parent d1b245f55d
commit 2e3b66a22f
15 changed files with 699 additions and 34 deletions

View file

@ -1,15 +1,16 @@
package wa.server.plugin;
public interface WAService {
public enum WAServiceStatus{
RUNNING,
NOT_RESPONDING,
UNAVAILABLE,
UNKNOWN
}
public String getName();
public void start();
public void stop();
/**
* @return a service status object or null if it is not possible to check status
*/
public WAServiceStatus getStatus();
/**
* @return a installer object that will install the service or null if the installer is not available
*/
public WAInstaller getInstaller();
}