Constructor and Description |
---|
TomcatContainer(org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer cargoContainer,
Supplier<JiraCluster.Node> nodeMaker,
Map<JiraType,? extends Path> warArchiveMap,
Path jiraHomeDir) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer |
getCargoContainer()
Access the underlying cargo container.
|
ClusterNodeProperties |
getClusterProperties() |
Path |
getLocalHome() |
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.
|
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
Copyright © 2002-2017 Atlassian. All Rights Reserved.