Class StandardPluginMetadata
java.lang.Object
org.spongepowered.plugin.metadata.builtin.StandardInheritable
org.spongepowered.plugin.metadata.builtin.StandardPluginMetadata
- All Implemented Interfaces:
Inheritable,PluginMetadata
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classNested classes/interfaces inherited from class org.spongepowered.plugin.metadata.builtin.StandardInheritable
StandardInheritable.AbstractBuilder<T extends Inheritable,B extends StandardInheritable.AbstractBuilder<T, B>> -
Field Summary
Fields inherited from class org.spongepowered.plugin.metadata.builtin.StandardInheritable
branding, contributors, dependencies, links, properties, rawVersion, version -
Method Summary
Methods inherited from class org.spongepowered.plugin.metadata.builtin.StandardInheritable
branding, contributors, dependencies, dependency, links, properties, property, stringJoiner, versionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.spongepowered.plugin.metadata.Inheritable
branding, contributors, dependencies, dependency, links, properties, property, version
-
Method Details
-
builder
-
container
- Specified by:
containerin interfacePluginMetadata- Returns:
- The
container.
-
id
Description copied from interface:PluginMetadataGets theid.Ids must conform to the following requirements:
- Must be between 2 and 64 characters in length
- Must start with a lower case letter (a-z)
- May only contain a mix of lower case letters (a-z), numbers (0-9), dashes (-), and underscores (_)
- Specified by:
idin interfacePluginMetadata- Returns:
- The id
-
entrypoint
Description copied from interface:PluginMetadataGets theentrypoint.Consult the vendor for how this field is used. As an example, this could be the name of a module or a fully realized path to a discrete class.
- Specified by:
entrypointin interfacePluginMetadata- Returns:
- The entrypoint
-
name
- Specified by:
namein interfacePluginMetadata- Returns:
- The
nameorOptional.empty()otherwise.
-
description
- Specified by:
descriptionin interfacePluginMetadata- Returns:
- The
descriptionorOptional.empty()otherwise.
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classStandardInheritable
-