public interface TestEnvironmentExecutor
| Modifier and Type | Interface and Description |
|---|---|
static class |
TestEnvironmentExecutor.Constants |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Frees all resources for accessing/creating environment
|
void |
createNetwork()
Creates network for the environment.
|
void |
execScript(String id,
String serviceName,
String script)
Execute script in running environment
|
String |
run(TestEnvironment testEnvironment)
Run test environment
|
default String |
scriptExecCommand(String script)
Prepares command which will be executed inside docker container.
|
void |
stopAndRemove(String id)
Stop and remove environment
|
String run(TestEnvironment testEnvironment)
testEnvironment - test environmentvoid stopAndRemove(String id)
id - Id of the environmentvoid close()
void execScript(String id, String serviceName, String script)
id - Id of the environment.serviceName - Service name in running environment.script - Script to executevoid createNetwork()
default String scriptExecCommand(String script)
script - The script name.Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.