Uses of Class
page.codeberg.friedolyn.meta.PolledMetadata
Packages that use PolledMetadata
-
Uses of PolledMetadata in page.codeberg.friedolyn
Fields in page.codeberg.friedolyn declared as PolledMetadataModifier and TypeFieldDescriptionprivate PolledMetadata
Friedolyn.metadata
Stores information about the application, fetched from the Codeberg repository, most notably theURL to a user poll
and alist of banned users
. -
Uses of PolledMetadata in page.codeberg.friedolyn.meta
Fields in page.codeberg.friedolyn.meta declared as PolledMetadataModifier and TypeFieldDescriptionprivate static PolledMetadata
PolledMetadata.defaultPolledMetadata
The metadata that is shipped with the application in themetadata.default.json
file.Methods in page.codeberg.friedolyn.meta that return PolledMetadataModifier and TypeMethodDescription@NonNull PolledMetadata
PolledMetadata.copy()
(package private) static @NonNull PolledMetadata
Converts a given JSON file to aPolledMetadata
object.static @NonNull PolledMetadata
Converts a given JSON string to aPolledMetadata
object.private static @NonNull PolledMetadata
PolledMetadata.loadDefaultMetadata()
Convertsmetadata.default.json
resource file shipped with the application to aPolledMetadata
object.Methods in page.codeberg.friedolyn.meta that return types with arguments of type PolledMetadataModifier and TypeMethodDescriptionstatic @NonNull Optional
<PolledMetadata> PolledMetadata.getDefaultPolledMetadata()
Returns a deep copy of thedefaultPolledMetadata
object that holds the metadata shipped with the application.