public class

EmbeddedDatabaseServerLauncher

extends Object
implements JiraLauncher
java.lang.Object
   ↳ com.atlassian.jira.startup.EmbeddedDatabaseServerLauncher

Summary

Public Constructors
EmbeddedDatabaseServerLauncher()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.startup.JiraLauncher

Public Constructors

public EmbeddedDatabaseServerLauncher ()

Public Methods

public static Integer getPort ()

Server port i.e. jira.embedded.h2.server.port system property or null if not set.

public static boolean isEnabled ()

True if the server is enabled i.e. jira.embedded.h2.server.port system property is set.

public void start ()

Start an H2 in-process server, if it's not already started.

jira.embedded.h2.server.port system property must be set for the server to start.

public void stop ()

Stop the H2 in-process server, if it's started.