org.gradle.api.artifacts
Interface ExcludeRuleContainer


public interface ExcludeRuleContainer

A container for adding exclude rules for dependencies.


Method Summary
 void add(java.util.Map<java.lang.String,java.lang.String> args)
          Adds an exclude rule to this container.
 java.util.Set<ExcludeRule> getRules()
          Returns all the exclude rules added to this container.
 

Method Detail

getRules

java.util.Set<ExcludeRule> getRules()
Returns all the exclude rules added to this container. If no exclude rules has been added an empty list is returned.


add

void add(java.util.Map<java.lang.String,java.lang.String> args)
Adds an exclude rule to this container. The ExcludeRule object gets created internally based on the map values passed to this method. The possible keys for the map are:

Parameters:
args - A map describing the exclude pattern.