public class CloudHubRunDispatcher extends Object implements SuiteRunDispatcher
RunConfiguration| Modifier and Type | Field and Description |
|---|---|
static String |
CLOUDHUB_DASHBOARD_URL_FORMAT |
static int |
DEFAULT_TIMEOUT |
protected org.mule.tools.deployment.Deployer |
deployer |
protected org.mule.tools.utils.DeployerLog |
deployerLog |
protected org.mule.tools.model.anypoint.CloudHubDeployment |
deployment |
static int |
RESULT_RETRIER_ATTEMPS |
static long |
RESULT_RETRIER_SLEEP_TIME |
protected RunConfiguration |
runConfiguration |
static int |
UNDEPLOYMENT_RETRIER_ATTEMPS |
static long |
UNDEPLOYMENT_RETRIER_SLEEP_TIME |
| Constructor and Description |
|---|
CloudHubRunDispatcher(RunConfiguration runConfiguration,
org.mule.tools.client.cloudhub.CloudHubClient cloudHubClient,
BATClientBase batClient) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployApplication() |
protected void |
generateJar(File srcFolder,
File destJarFile) |
protected org.mule.tools.deployment.Deployer |
getDeployer() |
protected void |
replaceLog4j() |
void |
runSuites(org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener) |
protected void |
undeployApplication() |
public static final long UNDEPLOYMENT_RETRIER_SLEEP_TIME
public static final int UNDEPLOYMENT_RETRIER_ATTEMPS
public static final int DEFAULT_TIMEOUT
public static final long RESULT_RETRIER_SLEEP_TIME
public static final int RESULT_RETRIER_ATTEMPS
public static final String CLOUDHUB_DASHBOARD_URL_FORMAT
protected org.mule.tools.deployment.Deployer deployer
protected RunConfiguration runConfiguration
protected org.mule.tools.model.anypoint.CloudHubDeployment deployment
protected org.mule.tools.utils.DeployerLog deployerLog
public CloudHubRunDispatcher(RunConfiguration runConfiguration, org.mule.tools.client.cloudhub.CloudHubClient cloudHubClient, BATClientBase batClient)
public void runSuites(org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener)
throws DeploymentException
runSuites in interface SuiteRunDispatcherDeploymentExceptionprotected void deployApplication()
throws DeploymentException
DeploymentExceptionprotected void undeployApplication()
protected void generateJar(File srcFolder, File destJarFile) throws IOException
IOExceptionprotected void replaceLog4j()
protected org.mule.tools.deployment.Deployer getDeployer()
throws org.mule.tools.client.core.exception.DeploymentException
org.mule.tools.client.core.exception.DeploymentExceptionCopyright © 2020. All rights reserved.