Interface IncludeRule

  • All Superinterfaces:
    ExtendableItem
    All Known Implementing Classes:
    DefaultIncludeRule

    public interface IncludeRule
    extends ExtendableItem
    This describes a rule of inclusion. It is used to restrict the artifacts and modules asked for a dependency, by including only modules and artifacts matching the rule
    • Method Detail

      • getId

        ArtifactId getId()
        Returns the id of the described artifact, without revision information
        Returns:
        ArtifactId
      • getConfigurations

        java.lang.String[] getConfigurations()
        Returns the configurations of the module in which the artifact is asked
        Returns:
        an array of configuration names in which the artifact is asked
      • getMatcher

        PatternMatcher getMatcher()
        Returns the matcher to use to know if an artifact match the current descriptor
        Returns:
        PatternMatcher