Package org.savantbuild.dep
Class DependencyService.TraversalRules.GroupTraversalRule
java.lang.Object
org.savantbuild.dep.DependencyService.TraversalRules.GroupTraversalRule
- Enclosing class:
- DependencyService.TraversalRules
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanboolean -
Constructor Summary
ConstructorsConstructorDescriptionGroupTraversalRule(boolean fetchSource, boolean transitive) GroupTraversalRule(boolean fetchSource, boolean transitive, Collection<String> transitiveGroups) Construct that assists with calling from Groovy code.GroupTraversalRule(boolean fetchSource, boolean transitive, License... disallowedLicenses) GroupTraversalRule(boolean fetchSource, String... transitiveGroups) -
Method Summary
Modifier and TypeMethodDescriptionwithDisallowedLicenses(License... disallowedLicenses) withFetchSource(boolean fetchSource) withTransitive(boolean transitive) withTransitiveGroups(String... transitiveGroups)
-
Field Details
-
disallowedLicenses
-
fetchSource
public boolean fetchSource -
transitive
public boolean transitive -
transitiveGroups
-
-
Constructor Details
-
GroupTraversalRule
public GroupTraversalRule(boolean fetchSource, boolean transitive) -
GroupTraversalRule
-
GroupTraversalRule
-
GroupTraversalRule
public GroupTraversalRule(boolean fetchSource, boolean transitive, Collection<String> transitiveGroups) Construct that assists with calling from Groovy code.- Parameters:
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.
-
-
Method Details
-
withDisallowedLicenses
public DependencyService.TraversalRules.GroupTraversalRule withDisallowedLicenses(License... disallowedLicenses) -
withFetchSource
-
withTransitive
-
withTransitiveGroups
public DependencyService.TraversalRules.GroupTraversalRule withTransitiveGroups(String... transitiveGroups)
-