public abstract class AbstractSystemProperty<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected T |
defaultValue |
protected String |
propertyName |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSystemProperty(String propertyName,
T defaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
clearValue()
Clears the value of this system property.
|
String |
getName() |
abstract T |
getValue()
Returns the value of this system property or the default if it's not set.
|
void |
setRawValue(String value) |
void |
setValue(T value)
Sets the value of this system property.
|
protected final String propertyName
protected final T defaultValue
Copyright © 2021 Atlassian. All rights reserved.