T
- the container type.public interface ContainerSet<T extends Container>
Modifier and Type | Method and Description |
---|---|
JiraCluster |
cluster()
Access an object that can perform operations on the JIRA cluster.
|
List<? extends T> |
getContainers() |
Path |
getSharedHome() |
void |
installJira(JiraType warType)
Installs a predefined JIRA WAR into all containers in the set.
|
void |
installSharedPlugin(Path pluginFile)
Installs a plugin into shared home.
|
void |
installTestingPlugins(JiraType jiraType)
Installs any plugins to shared home that are required for testing.
|
void |
installWar(Path warFile,
String context)
Installs a WAR file into all containers in the set.
|
Path |
jiraWarFile(JiraType warType)
Return the path of a predefined JIRA WAR file.
|
void |
resetDatabase()
Reset the database of the instance, returning it to an initial state.
|
void |
startAll()
Start all containers in the set.
|
void |
stopAll()
Cleanly stop all containers in the set.
|
void |
waitForStartupOfActiveContainers()
Waits for a default maximum amount of time for all containers that are starting to complete startup and join the
cluster.
|
void |
waitForStartupOfActiveContainers(java.time.Duration timeout)
Waits at most the specified amount of time for all containers to finish starting up and join the cluster.
|
void |
waitForUpgradeState(ZeroDowntimeControl.UpgradeState targetState,
java.time.Duration timeout) |
void startAll()
void stopAll()
JiraCluster cluster()
void installJira(JiraType warType)
warType
- the JIRA version to install.Path jiraWarFile(JiraType warType)
warType
- JIRA version.void installWar(Path warFile, String context)
warFile
- the WAR file to install.context
- the context path. Do not include any leading or trailing '/' characters.void installTestingPlugins(JiraType jiraType)
jiraType
- JIRA version to target.void installSharedPlugin(Path pluginFile)
pluginFile
- the plugin JAR/OBR file to install.void resetDatabase()
Path getSharedHome()
void waitForUpgradeState(ZeroDowntimeControl.UpgradeState targetState, java.time.Duration timeout)
void waitForStartupOfActiveContainers(java.time.Duration timeout)
timeout
- the maximum amount of time to wait.void waitForStartupOfActiveContainers()
Copyright © 2002-2017 Atlassian. All Rights Reserved.