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 |
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()
Copyright © 2002-2019 Atlassian. All Rights Reserved.