Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Execute (0.4 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java

                } else {
                    excludedPackages.add(excludePattern);
                }
            }
    
            repository.each(new Action<ClassMetaData>() {
                @Override
                public void execute(ClassMetaData classMetaData) {
                    if (classMetaData.getOuterClassName() != null) {
                        // Ignore inner classes
                        return;
                    }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

         */
        object Params {
            const val sourceRoots = "sourceRoots"
            const val sourceCompilationClasspath = "sourceCompilationClasspath"
        }
    
        @Suppress("unchecked_cast")
        override fun execute(context: ViolationCheckContext) {
            (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor(
                param(Params.sourceRoots),
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            repository.put('class1', value1)
            repository.put('class2', value2)
            Action action = Mock()
    
            when:
            repository.each(action)
    
            then:
            1 * action.execute(value1)
            1 * action.execute(value2)
            0 * action._
        }
    
        def canPersistMetaData() {
            TestDomainObject value = new TestDomainObject('a')
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

                cl.call(new Object[]{entry.getKey(), entry.getValue()});
            }
        }
    
        public void each(Action<? super T> action) {
            for (T t : classes.values()) {
                action.execute(t);
            }
        }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

    import java.util.HashSet;
    import java.util.Set;
    
    public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule {
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContextWithViolations context) {
            Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

                upperBounds.visitTypes(action);
                return;
            }
            if (lowerBounds != null) {
                lowerBounds.visitTypes(action);
                return;
            }
    
            action.execute(this);
            if (typeArgs != null) {
                for (TypeMetaData typeArg : typeArgs) {
                    typeArg.visitTypes(action);
                }
            }
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

         */
        public void resolve(final TypeMetaData type, final ClassMetaData classMetaData) {
            type.visitTypes(new Action<TypeMetaData>() {
                @Override
                public void execute(TypeMetaData t) {
                    t.setName(resolve(t.getName(), classMetaData));
                }
            });
        }
    
        /**
         * Resolves a source type name into a fully qualified type name.
         */
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        get() = the<GroovySourceDirectorySet>()
    
    abstract class CodeNarcRule @Inject constructor(
        private val groovyVersion: String
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        // For all the other executers, add an executer specific task
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {}
            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

            }
            builder.append(')');
            return builder.toString();
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            action.execute(returnType);
            for (ParameterMetaData parameter : parameters) {
                parameter.visitTypes(action);
            }
        }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
Back to top