Package org.eclipse.aether.impl.scope
Interface BuildPath
-
public interface BuildPath
Label for "build path", like "compile", "runtime", etc.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()The label.booleanisReverse()A flag denoting that this build path "reverses" the expected order of project paths.intorder()Returns the "order" of this path, usable to sort against other instances.
-
-
-
Method Detail
-
getId
java.lang.String getId()
The label.
-
isReverse
boolean isReverse()
A flag denoting that this build path "reverses" the expected order of project paths.For example: "compile" step expects "main" then "test" order (compile them in this order). On the other hand, "runtime" expects "test" to have run first. In this sense, "runtime" is reverse.
If
false, thenProjectPath.order()is used to sort project paths, otherwise theProjectPath.reverseOrder()is used to sort them.
-
order
int order()
Returns the "order" of this path, usable to sort against other instances. Expected natural order is "compile", "runtime"... (basically like the processing order).
-
-