Class ParsedProperty<T>
java.lang.Object
dev.prozilla.pine.common.property.ParsedProperty<T>
A property whose value is determined using the value of a string property and a parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the parsed value, ornullif the parsing failed.@NotNull StringPropertyReturns the input property.Returns the input property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.Property
getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot
-
Constructor Details
-
ParsedProperty
-
-
Method Details
-
getValue
Returns the parsed value, ornullif the parsing failed. -
toStringProperty
Returns the input property.- Specified by:
toStringPropertyin interfaceProperty<T>- Returns:
- The input property.
-
inputProperty
Returns the input property.- Returns:
- The input property.
-
getParser
-