This commit is contained in:
parent
d1b245f55d
commit
2e3b66a22f
15 changed files with 699 additions and 34 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue