- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setMutationValidator (0.34 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DependencySubstitutionsInternal.java
DependencySubstitutions allWithDependencyResolveDetails(Action<? super DependencyResolveDetails> rule, ComponentSelectorConverter componentSelectorConverter); void setMutationValidator(MutationValidator validator); DependencySubstitutionsInternal copy(); /** * Discard all state held by this container. */ void discard();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolutionStrategyInternal.java
*/ ResolutionStrategyInternal copy(); /** * Sets the validator to invoke before mutation. Any exception thrown by the action will veto the mutation. */ void setMutationValidator(MutationValidator action); /** * Returns the dependency locking provider linked to this resolution strategy. * * @return dependency locking provider */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRules.java
.toComposite(); } /** * Sets the validator to invoke prior to each mutation. */ public void setMutationValidator(MutationValidator mutationValidator) { this.mutationValidator = mutationValidator; } private static RuleActionAdapter createAdapter() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy
"org.gradle" | "lib" | false "com.gradle" | "api" | false } def "mutation is checked for public API"() { def checker = Mock(MutationValidator) rules.setMutationValidator(checker) when: rules.all(Actions.doNothing()) then: 1 * checker.validateMutation(STRATEGY) when: rules.all(Closure.IDENTITY) then: 1 * checker.validateMutation(STRATEGY)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.7K bytes - Viewed (0)