public class EmbeddedDatabaseServerLauncher extends Object
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.
public void stop()
Copyright © 2002-2022 Atlassian. All Rights Reserved.