public static class DependencyService.TraversalRules.GroupTraversalRule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Set<License> |
disallowedLicenses |
boolean |
fetchSource |
boolean |
transitive |
java.util.Set<java.lang.String> |
transitiveGroups |
Constructor and Description |
---|
GroupTraversalRule(boolean fetchSource,
boolean transitive) |
GroupTraversalRule(boolean fetchSource,
boolean transitive,
java.util.Collection<java.lang.String> transitiveGroups)
Construct that assists with calling from Groovy code.
|
GroupTraversalRule(boolean fetchSource,
boolean transitive,
License... disallowedLicenses) |
GroupTraversalRule(boolean fetchSource,
java.lang.String... transitiveGroups) |
Modifier and Type | Method and Description |
---|---|
DependencyService.TraversalRules.GroupTraversalRule |
withDisallowedLicenses(License... disallowedLicenses) |
DependencyService.TraversalRules.GroupTraversalRule |
withFetchSource(boolean fetchSource) |
DependencyService.TraversalRules.GroupTraversalRule |
withTransitive(boolean transitive) |
DependencyService.TraversalRules.GroupTraversalRule |
withTransitiveGroups(java.lang.String... transitiveGroups) |
public java.util.Set<License> disallowedLicenses
public boolean fetchSource
public boolean transitive
public java.util.Set<java.lang.String> transitiveGroups
public GroupTraversalRule(boolean fetchSource, boolean transitive)
public GroupTraversalRule(boolean fetchSource, boolean transitive, License... disallowedLicenses)
public GroupTraversalRule(boolean fetchSource, java.lang.String... transitiveGroups)
public GroupTraversalRule(boolean fetchSource, boolean transitive, java.util.Collection<java.lang.String> transitiveGroups)
fetchSource
- Determines if the source should be fetched.transitive
- Determines if transitive dependencies are fetched.transitiveGroups
- If transitive dependencies are fetched, this controls the transitive groups that are
fetched.public DependencyService.TraversalRules.GroupTraversalRule withDisallowedLicenses(License... disallowedLicenses)
public DependencyService.TraversalRules.GroupTraversalRule withFetchSource(boolean fetchSource)
public DependencyService.TraversalRules.GroupTraversalRule withTransitive(boolean transitive)
public DependencyService.TraversalRules.GroupTraversalRule withTransitiveGroups(java.lang.String... transitiveGroups)