Class MetadataContainer
java.lang.Object
org.spongepowered.plugin.metadata.builtin.MetadataContainer
- All Implemented Interfaces:
Container
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Method Summary
-
Method Details
-
loader
-
license
Description copied from interface:ContainerGets thelicenseof the data within this container.Consult the vendor for how this field is used.
In the generic implementation, a license's name is expected.
Notable examples include MIT or All Rights Reserved.
-
mappings
Description copied from interface:ContainerGets themappingsthat code within this container might be written in.The format of this string should be in maven dependency format (group:artifact:version).
Consult the vendor for how this field is used. As an example, that entity could use this purely for information purposes or go farther and perform artifact remapping from these mappings to another.
- Specified by:
mappingsin interfaceContainer- Returns:
- The mappings or
Optional.empty()otherwise
-
globalMetadata
- Specified by:
globalMetadatain interfaceContainer- Returns:
- The
global metadataorOptional.empty()otherwise
-
metadata
Description copied from interface:Container- Specified by:
metadatain interfaceContainer- Parameters:
id- The id- Returns:
- The plugin metadata or
Optional.empty()otherwise
-
metadata
- Specified by:
metadatain interfaceContainer- Returns:
- All of the
plugin metadataas an unmodifiableSet.
-
toString
-
toBuilder
-