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, setRawValue
public DurationSystemProperty(@Nonnull String propertyName, @Nonnull TemporalUnit temporalUnit, long defaultValue)
@Nonnull public Duration getValue()
AbstractSystemProperty
getValue
in class AbstractSystemProperty<Duration>
public void setValue(@Nonnull Duration value)
AbstractSystemProperty
setValue
in class AbstractSystemProperty<Duration>
Copyright © 2021 Atlassian. All rights reserved.