- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,791 for Mutation (0.16 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/MutationValidator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 00:26:55 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/customModel/internalViews/groovy/build.gradle
} // end::type-declaration[] // tag::type-registration[] // tag::internal-view-mutation[] class MyPlugin extends RuleSource { // end::internal-view-mutation[] @ComponentType void registerMyComponent(TypeBuilder<MyComponent> builder) { builder.internalView(MyComponentInternal) } // end::type-registration[] // tag::internal-view-mutation[] @Mutate void mutateMyComponents(ModelMap<MyComponentInternal> components) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/MutationRuleExecutionOrderTest.groovy
recorder.mutations << "a" } } def "mutation rules from the same plugin are applied in the order specified by their signatures"() { when: modelRegistry.getRoot().applyToSelf(ByPathRules) then: modelRegistry.get("recorder", MutationRecorder).mutations == ["a", "b"] } static class MixedRules extends RuleSource { @Model
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelActionRole.java
Initialize(ModelNode.State.Initialized, true), // Mutation action provided when an element is defined Mutate(ModelNode.State.Mutated, true), // Customisations Finalize(ModelNode.State.Finalized, true), // Post customisation default values Validate(ModelNode.State.SelfClosed, true); // Post mutation validations
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectSet.java
* Any exception thrown by the action will veto the mutation. * * TODO: Combine this with the MutationGuard or rework CompositeDomainObject to behave with MutationGuard/MutationValidator. * The mutation validators used in DefaultConfiguration only expect to be used with add/remove methods and fail when we * correctly try to also prevent all/withType/etc mutation methods. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/MutationRuleApplicationOrderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLock.java
public interface FileLock extends Closeable, FileAccess { /** * Returns true if the most recent mutation method ({@link #updateFile(Runnable)} or {@link #writeFile(Runnable)} attempted by any process succeeded * (ie a process did not crash while updating the target file). * * Returns false if no mutation method has ever been called for the target file. */ boolean getUnlockedCleanly(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go
limitations under the License. */ package mutation import ( "k8s.io/apiserver/pkg/cel/mutation/common" "github.com/google/cel-go/cel" "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" ) // TypeProvider is a specialized CEL type provider that understands // the Object type alias that is used to construct an Apply configuration for // a mutation operation. type TypeProvider struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 21:02:36 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/optional_test.go
limitations under the License. */ package mutation import ( "strings" "testing" celtypes "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "k8s.io/apiserver/pkg/cel/mutation/common" ) // TestCELOptional is an exploration test to demonstrate how CEL optional library // behave for the use cases that the mutation library requires. func TestCELOptional(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 21:52:39 UTC 2024 - 4.9K 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. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 4.1K bytes - Viewed (0)