Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for resolvingLeniently (0.23 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/DefaultTaskProperties.java

            @Override
            public void visitLocalStateProperty(Object value) {
                localState.add(value);
            }
    
            public FileCollection getFiles() {
                return fileCollectionFactory.resolvingLeniently(beanName + " local state", localState);
            }
        }
    
        private static class GetDestroyablesVisitor implements PropertyVisitor {
            private final String beanName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:29 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java

         *
         * <p>The collection is live and resolves the files on each query.
         *
         * <p>The collection ignores providers which are not present.
         */
        FileCollectionInternal resolvingLeniently(String displayName, Object sources);
    
        /**
         * Creates a {@link FileCollection} with the given files as content.
         *
         * <p>The collection is live and resolves the files on each query.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/FileParameterUtils.java

            FileCollectionInternal fileCollection = fileCollectionFactory.resolvingLeniently(path);
            return inputFilePropertyType == InputFilePropertyType.DIRECTORY
                ? fileCollection.getAsFileTree()
                : fileCollection;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

            return resolving(displayName, ProviderResolutionStrategy.REQUIRE_PRESENT, sources);
        }
    
        @Override
        public FileCollectionInternal resolvingLeniently(String displayName, Object sources) {
            return resolving(displayName, ProviderResolutionStrategy.ALLOW_ABSENT, sources);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultTestTaskPropertiesService.java

        private FileCollection resolveLeniently(PropertyValue value) {
            Object sources = value.call();
            return sources == null
                ? FileCollectionFactory.empty()
                : fileCollectionFactory.resolvingLeniently(sources);
        }
    
        private TestTaskFilters collectFilters(Test task) {
            DefaultTestFilter filter = (DefaultTestFilter) task.getFilter();
            TestFrameworkOptions options = task.getOptions();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFileCollectionFactoryTest.groovy

            ' in Callable' | { -> Providers.notDefined() }
        }
    
        def 'ignores absent Provider#description when resolving leniently'() {
            def collection = factory.resolvingLeniently(provider)
    
            expect:
            collection.files.empty
    
            where:
            description    | provider
            ''             | Providers.notDefined()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top