- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,674 for factory (0.22 sec)
-
subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/internal/PatternSpecFactoryTest.groovy
import org.gradle.api.tasks.util.PatternSet import spock.lang.Specification class PatternSpecFactoryTest extends Specification { def factory = new PatternSpecFactory() def "creates spec for empty patterns"() { def source = new PatternSet() expect: def spec = factory.createSpec(source) spec.isSatisfiedBy(element("a.java")) spec.isSatisfiedBy(element("/a/b/c.java"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 15 16:06:48 UTC 2017 - 2.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultCrossBuildInMemoryCacheFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 11 20:23:28 UTC 2021 - 2.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java
TikaExtractor tikaExtractor = container.getComponent("tikaExtractor"); ZipExtractor zipExtractor = container.getComponent("zipExtractor"); factory.addExtractor("text/plain", tikaExtractor); factory.addExtractor("text/html", tikaExtractor); factory.addExtractor("application/zip", zipExtractor);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/scopes/ScopedCacheBuilderFactory.java
/** * Returns the root directory of this cache builder factory. You should avoid using this method and instead use one of the other methods. */ File getRootDir(); /** * Returns the base directory that would be used for a Gradle-version specific cache builder created by this factory. */ File baseDirForCache(String key); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:30:42 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerLoggingSerializer.java
DefaultSerializerRegistry registry = new DefaultSerializerRegistry(false); BaseSerializerFactory factory = new BaseSerializerFactory(); Serializer<LogLevel> logLevelSerializer = factory.getSerializerFor(LogLevel.class); Serializer<Throwable> throwableSerializer = factory.getSerializerFor(Throwable.class); // Log events
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementProjectScopeServices.java
class DependencyManagementProjectScopeServices implements ServiceRegistrationProvider { void configure(ServiceRegistration registration) { registration.add(DefaultExternalResourceFileStore.Factory.class); registration.add(DefaultArtifactIdentifierFileStore.Factory.class); registration.add(TransformStepNodeDependencyResolver.class); } /** This is needed in order to get the {@code taskDependencyFactory} from the current project. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/DefaultClassLoaderFactoryTest.groovy
package org.gradle.internal.classloader import org.gradle.internal.classpath.DefaultClassPath import spock.lang.Specification class DefaultClassLoaderFactoryTest extends Specification { final DefaultClassLoaderFactory factory = new DefaultClassLoaderFactory() ClassLoader original def setup() { original = Thread.currentThread().contextClassLoader } def cleanup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.5K bytes - Viewed (0) -
maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeWriter.java
public static void write(Writer writer, XmlNode dom) throws XMLStreamException { XMLOutputFactory factory = new com.ctc.wstx.stax.WstxOutputFactory(); factory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, false); factory.setProperty(com.ctc.wstx.api.WstxOutputProperties.P_USE_DOUBLE_QUOTES_IN_XML_DECL, true); factory.setProperty(com.ctc.wstx.api.WstxOutputProperties.P_ADD_SPACE_AFTER_EMPTY_ELEM, true);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Nov 27 23:11:34 UTC 2023 - 5.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/logging/DefaultBuildOperationLoggerFactoryTest.groovy
DefaultBuildOperationLoggerFactory factory = new DefaultBuildOperationLoggerFactory(logger) def "enabling debug causes all failures to be logged"() { given: logger.isDebugEnabled() >> debugEnabled def outputFile = outputDir.file("test.out") when: def config = factory.createLogInfo("testTask", outputFile, 10) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java
ImplementationFactory<S, ?> factory = findFactory(implementationClass); if (factory == null) { throw new IllegalArgumentException(String.format("No factory registered to create an instance of implementation class '%s'.", implementationType)); } this.implementationRegistration = new ImplementationRegistration<S>(source, implementationType, factory); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 18.5K bytes - Viewed (0)