Package org.eclipse.aether.scope
Interface DependencyScope
-
- All Known Subinterfaces:
SystemDependencyScope
public interface DependencyScope
Generic dependency scope.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetId()The label.default booleanis(java.lang.String label)Shorthand method ofgetId().equals(String label).booleanisTransitive()Is it transitive scope?
-
-
-
Method Detail
-
getId
java.lang.String getId()
The label.- Returns:
- The identifier of this dependency scope, never
null.
-
is
default boolean is(java.lang.String label)
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.
-
-