Interface Inheritable
-
- All Known Subinterfaces:
PluginMetadata
- All Known Implementing Classes:
StandardInheritable,StandardPluginMetadata
public interface InheritableRepresents metadata that is meant to be inherited/overwritten, per contract.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginBrandingbranding()List<PluginContributor>contributors()Set<PluginDependency>dependencies()Optional<PluginDependency>dependency(String id)Gets theplugin dependencybyid.PluginLinkslinks()Map<String,Object>properties()<T> Optional<T>property(String key)org.apache.maven.artifact.versioning.ArtifactVersionversion()
-
-
-
Method Detail
-
version
org.apache.maven.artifact.versioning.ArtifactVersion version()
- Returns:
- The
version.
-
branding
PluginBranding branding()
- Returns:
- The
branding.
-
links
PluginLinks links()
- Returns:
- The
linksto various web resources.
-
contributors
List<PluginContributor> contributors()
- Returns:
- The
contributorsas an unmodifiableList.
-
dependency
Optional<PluginDependency> dependency(String id)
- Parameters:
id- The id- Returns:
- The dependency or
Optional.empty()otherwise.
-
dependencies
Set<PluginDependency> dependencies()
- Returns:
- The
dependenciesas an unmodifiableSet.
-
property
<T> Optional<T> property(String key)
- Type Parameters:
T- The type- Parameters:
key- The key- Returns:
- The property or
Optional.empty()otherwise.
-
-