Record Class PluginInfo
java.lang.Object
java.lang.Record
com.zenith.plugin.api.PluginInfo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthors()Returns the value of theauthorsrecord component.Returns the value of thedescriptionrecord component.Returns the value of theentrypointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of themcVersionsrecord component.mixins()Returns the value of themixinsrecord 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.
-
Field Details
-
ID_PATTERN_STRING
- See Also:
-
ID_PATTERN
-
-
Constructor Details
-
PluginInfo
public PluginInfo(String entrypoint, String id, Version version, String description, String url, List<String> authors, List<String> mcVersions, List<String> mixins) Creates an instance of aPluginInforecord class.- Parameters:
entrypoint- the value for theentrypointrecord componentid- the value for theidrecord componentversion- the value for theversionrecord componentdescription- the value for thedescriptionrecord componenturl- the value for theurlrecord componentauthors- the value for theauthorsrecord componentmcVersions- the value for themcVersionsrecord componentmixins- the value for themixinsrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
entrypoint
Returns the value of theentrypointrecord component.- Returns:
- the value of the
entrypointrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
authors
-
mcVersions
-
mixins
-