public class DurationSystemProperty extends AbstractSystemProperty<Duration>
defaultValue, propertyName| Constructor and Description |
|---|
DurationSystemProperty(String propertyName,
TemporalUnit temporalUnit,
long defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getValue()
Returns the value of this system property or the default if it's not set.
|
void |
setValue(Duration value)
Sets the value of this system property.
|
clearValue, getName, setRawValuepublic DurationSystemProperty(@Nonnull String propertyName, @Nonnull TemporalUnit temporalUnit, long defaultValue)
@Nonnull public Duration getValue()
AbstractSystemPropertygetValue in class AbstractSystemProperty<Duration>public void setValue(@Nonnull Duration value)
AbstractSystemPropertysetValue in class AbstractSystemProperty<Duration>Copyright © 2023 Atlassian. All rights reserved.