Class DurationSystemProperty
java.lang.Object
com.atlassian.crowd.common.properties.AbstractSystemProperty<Duration>
com.atlassian.crowd.common.properties.DurationSystemProperty
-
Field Summary
Fields inherited from class com.atlassian.crowd.common.properties.AbstractSystemProperty
defaultValueSupplier, propertyName
-
Constructor Summary
ConstructorsConstructorDescriptionDurationSystemProperty
(String propertyName, TemporalUnit temporalUnit, long defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String stringValue) void
Sets the value of this system property.Methods inherited from class com.atlassian.crowd.common.properties.AbstractSystemProperty
clearValue, getName, getValue, setRawValue
-
Constructor Details
-
DurationSystemProperty
public DurationSystemProperty(@Nonnull String propertyName, @Nonnull TemporalUnit temporalUnit, long defaultValue)
-
-
Method Details
-
fromString
- Specified by:
fromString
in classAbstractSystemProperty<Duration>
-
setValue
Description copied from class:AbstractSystemProperty
Sets the value of this system property.- Overrides:
setValue
in classAbstractSystemProperty<Duration>
-