Interface BuildPath


public interface BuildPath
Label for "build path", like "compile", "runtime", etc.
Since:
2.0.0
Restriction:
This interface is not intended to be extended by clients.
Restriction:
This interface is not intended to be implemented by clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    The label.
    boolean
    A flag denoting that this build path "reverses" the expected order of project paths.
    int
    Returns the "order" of this path, usable to sort against other instances.
  • Method Details

    • 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, then ProjectPath.order() is used to sort project paths, otherwise the ProjectPath.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).