Interface PluginMetadata
- All Known Implementing Classes:
StandardPluginMetadata
public interface PluginMetadata
Represents the metadata of a plugin.
- See Also:
-
Method Details
-
id
String id()Gets theid.- Returns:
- The id
- See Also:
-
entrypoints
PluginEntrypoints entrypoints()- Returns:
- The
entrypoints
-
version
ArtifactVersion version()- Returns:
- The
version.
-
loader
PluginLoaderSpecification loader()- Returns:
- The
loader.
-
name
- Returns:
- The
nameorOptional.empty()otherwise.
-
description
- Returns:
- The
descriptionorOptional.empty()otherwise.
-
license
Gets thelicenseof the data within this container.Notable examples include MIT or All Rights Reserved.
- Returns:
- The license
-
branding
PluginBranding branding()- Returns:
- The
branding.
-
links
PluginLinks links()- Returns:
- The
linksto various web resources.
-
contributors
List<PluginContributor> contributors()- Returns:
- The
contributorsas an unmodifiableList.
-
conflicts
List<PluginConflict> conflicts()Gets 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. -
dependency
- Parameters:
id- The id- Returns:
- The dependency or
Optional.empty()otherwise.
-
dependencies
Collection<PluginDependency> dependencies()- Returns:
- The
dependenciesas an unmodifiableCollection.
-
property
- Type Parameters:
T- The type- Parameters:
key- The key- Returns:
- The property or
Optional.empty()otherwise.
-
properties
- Returns:
- The properties as an unmodifiable
Map.
-