Record Class ModuleEntry
java.lang.Object
java.lang.Record
eu.cloudnetservice.node.impl.module.ModuleEntry
public record ModuleEntry(boolean official, @NonNull String name, @NonNull String website, @NonNull String version, @NonNull String sha3256, @NonNull String description, @NonNull String url, @NonNull Collection<String> maintainers, @NonNull Collection<String> releaseNotes, @NonNull Collection<String> dependingModules)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NonNull Collection<String> The field for thedependingModulesrecord component.The field for thedescriptionrecord component.private final @NonNull Collection<String> The field for themaintainersrecord component.The field for thenamerecord component.private final booleanThe field for theofficialrecord component.private final @NonNull Collection<String> The field for thereleaseNotesrecord component.The field for thesha3256record component.The field for theurlrecord component.The field for theversionrecord component.The field for thewebsiterecord component. -
Constructor Summary
ConstructorsConstructorDescriptionModuleEntry(boolean official, @NonNull String name, @NonNull String website, @NonNull String version, @NonNull String sha3256, @NonNull String description, @NonNull String url, @NonNull Collection<String> maintainers, @NonNull Collection<String> releaseNotes, @NonNull Collection<String> dependingModules) Creates an instance of aModuleEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedependingModulesrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themaintainersrecord component.name()Returns the value of thenamerecord component.booleanofficial()Returns the value of theofficialrecord component.Returns the value of thereleaseNotesrecord component.sha3256()Returns the value of thesha3256record component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.version()Returns the value of theversionrecord component.website()Returns the value of thewebsiterecord component.
-
Field Details
-
official
private final boolean officialThe field for theofficialrecord component. -
name
-
website
-
version
-
sha3256
-
description
-
url
-
maintainers
The field for themaintainersrecord component. -
releaseNotes
The field for thereleaseNotesrecord component. -
dependingModules
The field for thedependingModulesrecord component.
-
-
Constructor Details
-
ModuleEntry
public ModuleEntry(boolean official, @NonNull @NonNull String name, @NonNull @NonNull String website, @NonNull @NonNull String version, @NonNull @NonNull String sha3256, @NonNull @NonNull String description, @NonNull @NonNull String url, @NonNull @NonNull Collection<String> maintainers, @NonNull @NonNull Collection<String> releaseNotes, @NonNull @NonNull Collection<String> dependingModules) Creates an instance of aModuleEntryrecord class.- Parameters:
official- the value for theofficialrecord componentname- the value for thenamerecord componentwebsite- the value for thewebsiterecord componentversion- the value for theversionrecord componentsha3256- the value for thesha3256record componentdescription- the value for thedescriptionrecord componenturl- the value for theurlrecord componentmaintainers- the value for themaintainersrecord componentreleaseNotes- the value for thereleaseNotesrecord componentdependingModules- the value for thedependingModulesrecord component
-
-
Method Details
-
url
-
url
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
official
public boolean official()Returns the value of theofficialrecord component.- Returns:
- the value of the
officialrecord component
-
name
-
website
-
version
-
sha3256
-
description
-
maintainers
Returns the value of themaintainersrecord component.- Returns:
- the value of the
maintainersrecord component
-
releaseNotes
Returns the value of thereleaseNotesrecord component.- Returns:
- the value of the
releaseNotesrecord component
-
dependingModules
Returns the value of thedependingModulesrecord component.- Returns:
- the value of the
dependingModulesrecord component
-