- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,661 for musste (1.04 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy
} } registry.configure(ModelActionRole.Mutate) { it.path("b").descriptor("b-mutate").action { Bean b -> b.value = "b-mutate" } } registry.configure(ModelActionRole.Mutate) { it.path("a").descriptor("a-mutate").action { Bean a -> a.value = "a-mutate" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 56K 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-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy
failure.assertHasCause("Exception thrown while executing model rule: RulePlugin#mutate(ModelMap<Task>, ModelMap<Person>)") failure.assertHasCause("Attempt to modify a read only view of model element 'people' of type 'ModelMap<Person>' given to rule RulePlugin#mutate(ModelMap<Task>, ModelMap<Person>)") } def "cannot mutate when used as subject of validate rule"() { when: buildScript ''' @Managed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNodeBackedModelMapTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy
primitiveTypes.longPropertyFromInt = 123 primitiveTypes.longPropertyFromInteger = new Integer(321) } @Mutate void addCheckTask(ModelMap<Task> tasks, final PrimitiveTypes primitiveTypes) { tasks.create("check") { it.doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/PolymorphicManagedTypeIntegrationTest.groovy
@Model void managedNamed(ManagedNamed namedThing) { } @Mutate void setName(Named named) { named.name = "superclass" } @Mutate void addTask(ModelMap<Task> tasks, Named named) { tasks.create("echo") { it.doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelPropertyTargetingRuleIntegrationTest.groovy
platform.operatingSystem.name = "windows" } @Mutate void configurePlatform(Platform platform) { platform.operatingSystem.name = "${platform.operatingSystem.name} 10" } @Mutate void addTask(ModelMap<Task> tasks, @Path("platform.operatingSystem") OperatingSystem os) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 16.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MutateModelRuleExtractor.java
import javax.annotation.concurrent.ThreadSafe; import org.gradle.model.Mutate; import org.gradle.model.internal.core.ModelActionRole; @ThreadSafe public class MutateModelRuleExtractor extends AbstractMutationModelRuleExtractor<Mutate> { @Override protected ModelActionRole getMutationType() { return ModelActionRole.Mutate; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1010 bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
*/ public static HashCode fromBytes(byte[] bytes) { checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte."); return fromBytesNoCopy(bytes.clone()); } /** * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it * must be handed-off so as to preserve the immutability contract of {@code HashCode}. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 12.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy
} class RulePlugin extends RuleSource { @Model void createPerson(Person person) { person.name = "foo" } @Mutate void addPersonTask(ModelMap<Task> tasks, Person person) { tasks.create("echo") { it.doLast { println "name: $person.name"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0)