Modifier and Type | Class and Description |
---|---|
static interface |
TomcatContainer.LifecycleCallback |
Modifier and Type | Method and Description |
---|---|
void |
generateThreadDump()
Generate a thread dump of this process to the logs.
|
org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer |
getCargoContainer()
Access the underlying cargo container.
|
ClusterNodeProperties |
getClusterProperties() |
Path |
getLocalHome() |
JiraTestedProduct |
getProduct() |
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() |
ReplicationControl |
replication() |
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
|
public void start()
Container
public void stop()
Container
public ReplicationControl replication()
public JiraCluster.Node jiraNode()
public org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer getCargoContainer()
public void installWar(Path warFile, String context)
Container
installWar
in interface Container
warFile
- the WAR file to install.context
- the context path. Do not include any leading or trailing '/' characters.public void installJira(JiraType warType)
Container
installJira
in interface Container
warType
- the JIRA version to install.public Path getLocalHome()
getLocalHome
in interface Container
public ClusterNodeProperties getClusterProperties()
getClusterProperties
in interface Container
public void waitForLogMessage(org.hamcrest.Matcher<String> message, java.time.Duration timeout)
Container
waitForLogMessage
in interface Container
public Map<String,String> getSystemProperties()
getSystemProperties
in interface Container
public void generateThreadDump()
Container
generateThreadDump
in interface Container
public JiraTestedProduct getProduct()
Copyright © 2002-2021 Atlassian. All Rights Reserved.
View cookie preferences