Class AbstractSystemProperty<T>
java.lang.Object
com.atlassian.crowd.common.properties.AbstractSystemProperty<T>
- Direct Known Subclasses:
BooleanSystemProperty,DurationSystemProperty,IntegerSystemProperty,StringSystemProperty
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSystemProperty(String propertyName, Supplier<T> defaultValueSupplier) protectedAbstractSystemProperty(String propertyName, T value) -
Method Summary
Modifier and TypeMethodDescriptionvoidClears the value of this system property.protected abstract TfromString(String stringValue) getName()getValue()Returns the value of this system property or the default if it's not set.voidsetRawValue(String value) voidSets the value of this system property.
-
Field Details
-
propertyName
-
defaultValueSupplier
-
-
Constructor Details
-
AbstractSystemProperty
-
AbstractSystemProperty
-
-
Method Details
-
getName
-
getValue
Returns the value of this system property or the default if it's not set. -
fromString
-
setValue
Sets the value of this system property. -
setRawValue
-
clearValue
public void clearValue()Clears the value of this system property.
-