Class StandardPluginMetadata
java.lang.Object
org.spongepowered.plugin.metadata.builtin.StandardPluginMetadata
- All Implemented Interfaces:
PluginMetadata
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbranding()builder()Gets the known and declaredconflicts.dependency(String id) Gets theplugin dependencybyid.booleanglobal()inthashCode()id()Gets theid.license()Gets thelicenseof the data within this container.links()loader()name()override()<T> Optional<T> toString()version()
-
Method Details
-
id
Description copied from interface:PluginMetadataGets theid.- Specified by:
idin interfacePluginMetadata- Returns:
- The id
- See Also:
-
entrypoints
- Specified by:
entrypointsin interfacePluginMetadata- Returns:
- The
entrypoints
-
global
-
override
-
version
- Specified by:
versionin interfacePluginMetadata- Returns:
- The
version.
-
loader
- Specified by:
loaderin interfacePluginMetadata- Returns:
- The
loader.
-
name
- Specified by:
namein interfacePluginMetadata- Returns:
- The
nameorOptional.empty()otherwise.
-
description
- Specified by:
descriptionin interfacePluginMetadata- Returns:
- The
descriptionorOptional.empty()otherwise.
-
license
Description copied from interface:PluginMetadataGets thelicenseof the data within this container.Notable examples include MIT or All Rights Reserved.
- Specified by:
licensein interfacePluginMetadata- Returns:
- The license
-
branding
- Specified by:
brandingin interfacePluginMetadata- Returns:
- The
branding.
-
links
- Specified by:
linksin interfacePluginMetadata- Returns:
- The
linksto various web resources.
-
contributors
- Specified by:
contributorsin interfacePluginMetadata- Returns:
- The
contributorsas an unmodifiableList.
-
conflicts
Description copied from interface:PluginMetadataGets the known and declaredconflicts. This list is not exhaustive. Unknown conflicts may not be in this list. This list may contain multiple entries with the same id but with different version ranges and reasons.- Specified by:
conflictsin interfacePluginMetadata- Returns:
- The
conflictsas an unmodifiableList.
-
dependency
Description copied from interface:PluginMetadata- Specified by:
dependencyin interfacePluginMetadata- Parameters:
id- The id- Returns:
- The dependency or
Optional.empty()otherwise.
-
dependencies
- Specified by:
dependenciesin interfacePluginMetadata- Returns:
- The
dependenciesas an unmodifiableCollection.
-
property
Description copied from interface:PluginMetadata- Specified by:
propertyin interfacePluginMetadata- Type Parameters:
T- The type- Parameters:
key- The key- Returns:
- The property or
Optional.empty()otherwise.
-
properties
- Specified by:
propertiesin interfacePluginMetadata- Returns:
- The properties as an unmodifiable
Map.
-
hashCode
public int hashCode() -
equals
-
toString
-
toBuilder
-
builder
-