Package org.eclipse.aether.scope
Interface DependencyScope
- All Known Subinterfaces:
SystemDependencyScope
public interface DependencyScope
Generic dependency scope.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetId()The label.default booleanShorthand method ofgetId().equals(String label).booleanIs it transitive scope?
-
Method Details
-
getId
The label.- Returns:
- The identifier of this dependency scope, never
null.
-
is
Shorthand method ofgetId().equals(String label).- Parameters:
label- The label to compare against, must not benull.- Returns:
trueif this scope's identifier equals the given label,falseotherwise.
-
isTransitive
boolean isTransitive()Is it transitive scope?- Returns:
trueif dependencies in this scope are transitive,falseotherwise.
-