public class EmbeddedDatabaseServerLauncher extends Object implements JiraLauncher
Constructor and Description |
---|
EmbeddedDatabaseServerLauncher() |
Modifier and Type | Method and Description |
---|---|
static Integer |
getPort()
Server port i.e.
|
static boolean |
isEnabled()
True if the server is enabled i.e.
|
void |
start()
Start an H2 in-process server, if it's not already started.
|
void |
stop()
Stop the H2 in-process server, if it's started.
|
public static boolean isEnabled()
public static Integer getPort()
public void start()
jira.embedded.h2.server.port system property must be set for the server to start.
start
in interface JiraLauncher
DefaultJiraLauncher
public void stop()
stop
in interface JiraLauncher
DefaultJiraLauncher
Copyright © 2002-2015 Atlassian. All Rights Reserved.