public class ServerManagerImpl extends AbstractRestManager implements ServerManager
AbstractRestManager.ThrowableSupplier<T,E extends Throwable>| Modifier and Type | Field and Description |
|---|---|
static String |
SERVER_INFO_PATH |
static String |
SERVER_PATH |
static String |
SERVER_START_PATH |
static String |
SERVER_STATUS_PATH |
static String |
SERVER_STOP_PATH |
logger| Constructor and Description |
|---|
ServerManagerImpl(APIConnector apiConnector) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConnectedServerAddress() |
ServerResource |
getServerInfo() |
String |
start() |
String |
status() |
String |
stop() |
delete, get, get, getApiConnector, invoke, invokeForMsg, parseMsg, parseResponseClass, parseResponseGeneric, post, postpublic static final String SERVER_PATH
public static final String SERVER_START_PATH
public static final String SERVER_STOP_PATH
public static final String SERVER_STATUS_PATH
public static final String SERVER_INFO_PATH
public ServerManagerImpl(APIConnector apiConnector)
public String getConnectedServerAddress()
getConnectedServerAddress in interface ServerManagerpublic String status() throws ManagementException
status in interface ServerManagerManagementExceptionpublic ServerResource getServerInfo() throws ManagementException
getServerInfo in interface ServerManagerManagementExceptionpublic String start() throws ManagementException
start in interface ServerManagerManagementExceptionpublic String stop() throws ManagementException
stop in interface ServerManagerManagementExceptionCopyright © 2016–2019 AdroitLogic. All rights reserved.