- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for filterSpec (0.3 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/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java
Runner runner = request.getRunner(); TestFilterSpec filterSpec = spec.getFilter(); if (!filterSpec.getIncludedTests().isEmpty() || !filterSpec.getIncludedTestsCommandLine().isEmpty() || !filterSpec.getExcludedTests().isEmpty()) { TestSelectionMatcher matcher = new TestSelectionMatcher(filterSpec);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/StackTraceFilter.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class StackTraceFilter { private final Spec<StackTraceElement> filterSpec; public StackTraceFilter(Spec<StackTraceElement> filterSpec) { this.filterSpec = filterSpec; } // stack traces are filtered in call order (from bottom to top) public List<StackTraceElement> filter(List<StackTraceElement> stackTrace) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2K 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/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/CompositeFileCollection.java
fileCollection.addToAntBuilder(builder, nodeName, AntType.ResourceCollection); } } @Override public FileCollectionInternal filter(final Spec<? super File> filterSpec) { return new FilteredFileCollection(this, filterSpec) { @Override protected void appendContents(TreeFormatter formatter) { formatter.node("filtered collection"); formatter.startChildren();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/loader/DefaultToolingImplementationLoader.java
FilteringClassLoader.Spec filterSpec = new FilteringClassLoader.Spec(); filterSpec.allowPackage("org.gradle.tooling.internal.protocol"); filterSpec.allowClass(JavaVersion.class); FilteringClassLoader filteringClassLoader = new FilteringClassLoader(classLoader, filterSpec);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 7.6K 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/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatter.java
} } private List<StackTraceElement> filterStackTrace(Throwable exception, TestDescriptor descriptor) { Spec<StackTraceElement> filterSpec = createCompositeFilter(descriptor); StackTraceFilter filter = new StackTraceFilter(filterSpec); return filter.filter(exception); } private Spec<StackTraceElement> createCompositeFilter(TestDescriptor descriptor) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5.1K 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) -
src/go/doc/exports.go
t.Incomplete = true } case *ast.MapType: r.filterType(nil, t.Key) r.filterType(nil, t.Value) case *ast.ChanType: r.filterType(nil, t.Value) } } func (r *reader) filterSpec(spec ast.Spec) bool { switch s := spec.(type) { case *ast.ImportSpec: // always keep imports so we can collect them return true case *ast.ValueSpec:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 8.5K bytes - Viewed (0)