Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for execute (0.14 sec)

  1. 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)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaData.java

                return overriddenMethod.getOwnerClass().findDeclaredProperty(name);
            }
    
            return null;
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            action.execute(type);
        }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

        static class ExecResult {
            String stdout
            String stderr
            int returnCode
        }
    
        static ExecResult exec(String command) {
            Process process = command.execute()
            def stdoutFuture = readStreamAsync(process.inputStream)
            def stderrFuture = readStreamAsync(process.errorStream)
    
            int returnCode = process.waitFor()
            String stdout = stdoutFuture.get()
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. 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)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                    FileSystemOperations fs = getFs();
                    //noinspection Convert2Lambda
                    task.doLast(new Action<Task>() {
                        @Override
                        public void execute(Task task) {
                            fs.copy(copySpec -> {
                                // This is a work-around for https://bugs.openjdk.java.net/browse/JDK-8211194. Can be removed once that issue is fixed on JDK's side
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. .teamcity/mvnw.cmd

    title %0
    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
    
    @REM set %HOME% to equivalent of $HOME
    if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
    
    @REM Execute a user defined script before this one
    if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
    @REM check for pre script, once with legacy .bat ending and once with .cmd ending
    if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
    Batch File
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  10. 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)
Back to top