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
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
Nested 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, version
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.spongepowered.plugin.metadata.Inheritable
branding, contributors, dependencies, dependency, links, properties, property, version
-
Method Details
-
builder
-
container
- Specified by:
container
in interfacePluginMetadata
- Returns:
- The
container
.
-
id
Description copied from interface:PluginMetadata
Gets 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:
id
in interfacePluginMetadata
- Returns:
- The id
-
entrypoint
Description copied from interface:PluginMetadata
Gets 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:
entrypoint
in interfacePluginMetadata
- Returns:
- The entrypoint
-
name
- Specified by:
name
in interfacePluginMetadata
- Returns:
- The
name
orOptional.empty()
otherwise.
-
description
- Specified by:
description
in interfacePluginMetadata
- Returns:
- The
description
orOptional.empty()
otherwise.
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toString
in classStandardInheritable
-