public class MuleServerContainer extends org.testcontainers.containers.GenericContainer<MuleServerContainer>
| Constructor and Description |
|---|
MuleServerContainer() |
MuleServerContainer(String version) |
MuleServerContainer(String image,
String version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
MuleServerContainer |
withDeployedApplications(String folder,
String pattern)
Add mule applications to the container.
|
MuleServerContainer |
withMuleArg(String argName,
String argValue)
Add mule arguments to the container start command
|
MuleServerContainer |
withMuleArgs(Map<String,String> muleArgs)
Add mule arguments from a Map to the container start command
|
MuleServerContainer |
withMuleLogFolder(String folder)
Mount the mule log folder into the specified host path
|
MuleServerContainer |
withWrapperConfig(String wrapper)
Add wrapper.conf file to the Mule Container
|
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, containerIsCreated, containerIsStarted, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, copyFileFromContainer, copyFileToContainer, copyFileToContainer, createVolumeDirectory, dependsOn, dependsOn, doStart, equals, execInContainer, execInContainer, failed, fetchDockerDaemonInfo, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerDaemonInfo, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isPrivilegedMode, logger, setBinds, setCommand, setCommand, setCommandParts, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, waitUntilContainerStarted, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindpublic MuleServerContainer()
public MuleServerContainer(String version)
protected void configure()
configure in class org.testcontainers.containers.GenericContainer<MuleServerContainer>public MuleServerContainer withDeployedApplications(String folder, String pattern)
folder - the root folder to scanpattern - the application pattern to searchpublic MuleServerContainer withWrapperConfig(String wrapper)
wrapper - the host path of the wrapper.conf filepublic MuleServerContainer withMuleArgs(Map<String,String> muleArgs)
muleArgs - mule arguments as java.util.Mappublic MuleServerContainer withMuleArg(String argName, String argValue)
argName - name of the argumentargValue - value of the argumentpublic MuleServerContainer withMuleLogFolder(String folder)
folder - host folder to moundCopyright © 2019. All rights reserved.