public class TomcatContainerSetBuilder extends Object implements ContainerSetBuilder<TomcatContainerSet>
-DcontainerDebug=jira-1:5005,jira-2:5006
This will start up node-1
with debugging enabled on port 5005
and jira-2
with
debugging enabled on port 5006
.ContainerSetBuilder.JiraConfigBuilder
Modifier and Type | Method and Description |
---|---|
TomcatContainerSet |
build() |
TomcatContainerSetBuilder |
dbconfig(String dbconfig) |
TomcatContainerSetBuilder |
dependencyDir(String dependencyDir) |
TomcatContainerSetBuilder |
jiraConfig(Consumer<ContainerSetBuilder.JiraConfigBuilder> builder)
Configures a
jira-config.properties file for all nodes. |
TomcatContainerSetBuilder |
name(String name) |
TomcatContainerSetBuilder |
numNodes(int numNodes) |
TomcatContainerSetBuilder |
serverMode(boolean serverMode) |
TomcatContainerSetBuilder |
sharedHome(String sharedHome) |
TomcatContainerSetBuilder |
systemProperty(String property) |
TomcatContainerSetBuilder |
systemProperty(String property,
String value) |
public TomcatContainerSet build() throws IOException
build
in interface ContainerSetBuilder<TomcatContainerSet>
IOException
public TomcatContainerSetBuilder serverMode(boolean serverMode)
serverMode
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder numNodes(int numNodes)
numNodes
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder name(String name)
name
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder sharedHome(String sharedHome)
sharedHome
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder dependencyDir(String dependencyDir)
dependencyDir
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder dbconfig(String dbconfig)
dbconfig
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder systemProperty(String property, String value)
systemProperty
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder systemProperty(String property)
systemProperty
in interface ContainerSetBuilder<TomcatContainerSet>
public TomcatContainerSetBuilder jiraConfig(Consumer<ContainerSetBuilder.JiraConfigBuilder> builder)
ContainerSetBuilder
jira-config.properties
file for all nodes.jiraConfig
in interface ContainerSetBuilder<TomcatContainerSet>
Copyright © 2002-2022 Atlassian. All Rights Reserved.