Interface DependencyScope

All Known Subinterfaces:
SystemDependencyScope

public interface DependencyScope
Generic dependency scope.
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.
    default boolean
    is(String label)
    Shorthand method of getId().equals(String label).
    boolean
    Is it transitive scope?
  • Method Details

    • getId

      The label.
      Returns:
      The identifier of this dependency scope, never null.
    • is

      default boolean is(String label)
      Shorthand method of getId().equals(String label).
      Parameters:
      label - The label to compare against, must not be null.
      Returns:
      true if this scope's identifier equals the given label, false otherwise.
    • isTransitive

      boolean isTransitive()
      Is it transitive scope?
      Returns:
      true if dependencies in this scope are transitive, false otherwise.