- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for filterSpec (0.13 sec)
-
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/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinary.java
private final Set<LanguageSourceSet> inputs; private final Spec<LanguageSourceSet> filterSpec; private final Transformer<FileCollection, LanguageSourceSet> transformer; public LanguageSourceSetCollectionAdapter(String displayName, Set<LanguageSourceSet> inputs, Spec<LanguageSourceSet> filterSpec, Transformer<FileCollection, LanguageSourceSet> transformer) { this.displayName = displayName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 11.4K 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) -
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) -
subprojects/core-api/src/main/java/org/gradle/api/file/FileCollection.java
* collection is live, so that it reflects any changes to this collection.</p> * * @param filterSpec The criteria to use to select the contents of the filtered collection. * @return The filtered collection. */ FileCollection filter(Spec<? super File> filterSpec); /** * Returns true if this collection is empty. Generally, calling this method is more efficient than calling {@code
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 05 15:51:59 UTC 2021 - 8.3K 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) -
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)