- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for filterSpec (0.26 sec)
-
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FilteredFileCollection.java
private final FileCollectionInternal collection; private final Spec<? super File> filterSpec; public FilteredFileCollection(AbstractFileCollection collection, Spec<? super File> filterSpec) { super(collection.taskDependencyFactory, collection.patternSetFactory); this.collection = collection; this.filterSpec = filterSpec; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 08:16:53 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy
@Rule TestNameTestDirectoryProvider dir = new TestNameTestDirectoryProvider(getClass()) def processor = Mock(TestResultProcessor) def filterSpec = Spy(new TestFilterSpec([] as Set, [] as Set, [] as Set)) def spec = Spy(new TestNGSpec( filterSpec, "Gradle suite", "Gradle test", null, -1, 1, false, null, [] as Set, [] as Set, [] as Set,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 18 12:30:10 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ModelClassLoaderFactory.java
ClassLoader parent = getClass().getClassLoader(); FilteringClassLoader.Spec filterSpec = new FilteringClassLoader.Spec(); filterSpec.allowPackage("org.gradle.tooling.internal.protocol"); filterSpec.allowClass(TaskExecutionRequest.class); rootClassLoader = new FilteringClassLoader(parent, filterSpec); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JdkTools.java
FilteringClassLoader.Spec filterSpec = new FilteringClassLoader.Spec(); filterSpec.allowPackage("com.sun.tools"); filterSpec.allowPackage("com.sun.source"); return classLoaderFactory.createFilteringClassLoader( this.getClass().getClassLoader(), filterSpec ); } public ContextAwareJavaCompiler getSystemJavaCompiler() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java
public interface FileCollectionInternal extends FileCollection, TaskDependencyContainer { String DEFAULT_COLLECTION_DISPLAY_NAME = "file collection"; @Override FileCollectionInternal filter(Spec<? super File> filterSpec); @Override FileTreeInternal getAsFileTree(); /** * Returns a copy of this collection, with the given collection replaced with the value returned by the given supplier. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 14:55:28 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ConfigurationDeprecatedExtensions.kt
/** * See [Configuration.filter]. */ @Deprecated(deprecationMessage, replaceWith = ReplaceWith("get().filter(filterSpec"), level = DeprecationLevel.HIDDEN) fun <T : Configuration> NamedDomainObjectProvider<T>.filter(filterSpec: Spec<File>) = get().filter(filterSpec) /** * See [Configuration.isEmpty]. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 18:18:46 UTC 2024 - 17.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java
return filter(Specs.convertClosureToSpec(filterClosure)); } @Override public FileCollectionInternal filter(final Spec<? super File> filterSpec) { return new FilteredFileCollection(this, filterSpec); } /** * This is final - override {@link #visitContents(FileCollectionStructureVisitor)} instead to provide the contents. */ @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 07:32:50 UTC 2024 - 13.5K bytes - Viewed (0) -
src/go/ast/filter.go
case *MapType: b1 := filterType(t.Key, f, export) b2 := filterType(t.Value, f, export) return b1 || b2 case *ChanType: return filterType(t.Value, f, export) } return false } func filterSpec(spec Spec, f Filter, export bool) bool { switch s := spec.(type) { case *ValueSpec: s.Names = filterIdentList(s.Names, f) s.Values = filterExprList(s.Values, f, export) if len(s.Names) > 0 { if export {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt
// TODO - when the collection is static then we should serialize the current contents of the collection elements.add(FilteredFileCollectionSpec(fileCollection.collection, fileCollection.filterSpec)) false } is ProviderBackedFileCollection -> { // Guard against file collection created from a task provider such as `layout.files(compileJava)`
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 53K bytes - Viewed (0)