public class StringSetProperty extends SetProperty<String>
| Constructor and Description |
|---|
StringSetProperty(@NotNull String path,
@NotNull Set<String> defaultValue)
Constructor.
|
StringSetProperty(@NotNull String path,
String... defaultValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Object |
toExportValue(@NotNull Set<String> value)
Converts the given value to a representation that is suitable for exporting by a property resource.
|
getFromReader, setCollectordetermineValue, getDefaultValue, getPath, isValidValue, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidInResourcepublic StringSetProperty(@NotNull
@NotNull String path,
@NotNull
String... defaultValue)
path - the path of the propertydefaultValue - the values that make up the entries of the default set@NotNull public @NotNull Object toExportValue(@NotNull @NotNull Set<String> value)
Property
The values which are suitable for returning depend on the support of the used property resource. By default,
the supported types include null, String, Integer, Double, Boolean; Collection of the aforementioned
types; Map with String keys and values of any of the aforementioned types. Maps and collections can be nested at
any arbitrary level. Null signifies that the property/value should be skipped in the export.
toExportValue in interface Property<Set<String>>toExportValue in class SetProperty<String>value - the value to convert to an export valueCopyright © 2016–2023 The AuthMe Team. All rights reserved.