Interface ExcludeRule

  • All Superinterfaces:
    ExtendableItem
    All Known Implementing Classes:
    DefaultExcludeRule

    public interface ExcludeRule
    extends ExtendableItem
    This describes a rule of exclusion. It is used to restrict the artifacts asked for a dependency, by excluding a whole module or some artifacts of a dependency.
    • 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