public enum GraknSystemProperty extends Enum<GraknSystemProperty>
| Enum Constant and Description |
|---|
CONFIGURATION_FILE |
CURRENT_DIRECTORY |
TEST_PROFILE |
| Modifier and Type | Method and Description |
|---|---|
String |
key()
Return the key identifying the system property
|
void |
set(String value)
Set the value of the system property
|
String |
value()
Retrieve the value of the system property
|
static GraknSystemProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraknSystemProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraknSystemProperty CURRENT_DIRECTORY
public static final GraknSystemProperty CONFIGURATION_FILE
public static final GraknSystemProperty TEST_PROFILE
public static GraknSystemProperty[] values()
for (GraknSystemProperty c : GraknSystemProperty.values()) System.out.println(c);
public static GraknSystemProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String key()
@Nullable public String value()
public void set(String value)
value - the value to set on the system propertyCopyright © 2017 Grakn Labs Ltd. All rights reserved.