Interface PluginDependency
-
- All Known Implementing Classes:
StandardPluginDependency
public interface PluginDependencySpecification for an entity considered to be a "dependency" for aninheritableorplugin metadata.Consult the vendor for further information on how this is used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPluginDependency.LoadOrderRepresents the ordering of how dependencies are loaded versus others.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringid()Gets theid.PluginDependency.LoadOrderloadOrder()booleanoptional()org.apache.maven.artifact.versioning.VersionRangeversion()
-
-
-
Method Detail
-
id
String id()
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 (_)
- Returns:
- The id
-
version
org.apache.maven.artifact.versioning.VersionRange version()
- Returns:
- The
version, as a maven range.
-
loadOrder
PluginDependency.LoadOrder loadOrder()
- Returns:
- The
load order
-
optional
boolean optional()
- Returns:
- True if optional, false if not
-
-