public class WildflyClient extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
WildflyClient(String providerName,
String user,
String password,
String host,
int port,
int managementPort) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
deploy(File file) |
WildflyAppState |
getAppState(String deploymentName) |
String |
getHost() |
int |
getManagementPort() |
String |
getPassword() |
int |
getPort() |
String |
getProviderName() |
String |
getUser() |
void |
restart(String id) |
int |
start(String deploymentName) |
int |
stop(String deploymentName) |
String |
testConnection() |
int |
undeploy(String deploymentName) |
public int deploy(File file) throws WildflyClientException
WildflyClientException
public int undeploy(String deploymentName) throws WildflyClientException
WildflyClientException
public void close()
public int start(String deploymentName) throws WildflyClientException
WildflyClientException
public int stop(String deploymentName) throws WildflyClientException
WildflyClientException
public void restart(String id) throws WildflyClientException
WildflyClientException
public WildflyAppState getAppState(String deploymentName) throws WildflyClientException
WildflyClientException
public String testConnection() throws WildflyClientException
WildflyClientException
public String getProviderName()
public String getUser()
public String getPassword()
public String getHost()
public int getPort()
public int getManagementPort()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.