public interface Container
Modifier and Type | Method and Description |
---|---|
void |
generateThreadDump()
Generate a thread dump of this process to the logs.
|
ClusterNodeProperties |
getClusterProperties() |
Path |
getLocalHome() |
Map<String,String> |
getSystemProperties() |
void |
installJira(JiraType warType)
Installs a predefined JIRA WAR into this container.
|
void |
installWar(Path warFile,
String context)
Installs a WAR file intothis container.
|
JiraCluster.Node |
jiraNode() |
void |
start()
Start the instance.
|
void |
stop()
Cleanly stop the instance.
|
void |
waitForContainerToDie()
Wait until container will die
|
void |
waitForLogMessage(org.hamcrest.Matcher<String> message,
java.time.Duration timeout)
Waits for a log message that matches the pattern
|
void start()
void stop()
JiraCluster.Node jiraNode()
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 installJira(JiraType warType)
warType
- the JIRA version to install.Path getLocalHome()
ClusterNodeProperties getClusterProperties()
void waitForLogMessage(org.hamcrest.Matcher<String> message, java.time.Duration timeout)
Map<String,String> getSystemProperties()
void generateThreadDump()
void waitForContainerToDie() throws TimeoutException
TimeoutException
- if container will not dieCopyright © 2002-2022 Atlassian. All Rights Reserved.