Constructor and Description |
---|
AbstractJavaService(java.lang.String service) |
AbstractJavaService(java.lang.String service,
java.util.List<java.lang.String> tags) |
AbstractJavaService(java.lang.String service,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
ServerInformation |
getServerInfo(Server server,
java.lang.String method)
Each service has its own methods and server infos; the lowest level of
information being the server information, the implementation of this
method obviously differs for every service.
|
protected abstract ServerInformation |
getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
memory(Server server) |
checkConnection, checkRunning, createException
getMethodInformation, getServiceInformation
public AbstractJavaService(java.lang.String service, java.util.List<java.lang.String> tags)
public AbstractJavaService(java.lang.String service, java.lang.String tag)
public AbstractJavaService(java.lang.String service)
public ServerInformation memory(Server server)
public ServerInformation getServerInfo(Server server, java.lang.String method)
Service
getServerInfo
in class AbstractService
server
- the server on which the method must be executedmethod
- the method to be executedprotected abstract ServerInformation getSpecificServerInfo(Server server, java.lang.String method)
getSpecificServerInfo
in class AbstractService
Copyright © 2021. All Rights Reserved.