Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 350 for objectFactory (0.23 sec)

  1. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/services/DefaultVersionControlSpecFactory.java

    public class DefaultVersionControlSpecFactory implements VersionControlSpecFactory {
        private final ObjectFactory objectFactory;
        private final NotationParser<String, ModuleIdentifier> notationParser;
    
        public DefaultVersionControlSpecFactory(ObjectFactory objectFactory, NotationParser<String, ModuleIdentifier> notationParser) {
            this.objectFactory = objectFactory;
            this.notationParser = notationParser;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/AbstractResolutionAwareArtifactRepository.java

    import org.gradle.api.model.ObjectFactory;
    
    public abstract class AbstractResolutionAwareArtifactRepository<T extends RepositoryDescriptor> extends AbstractArtifactRepository implements ResolutionAwareRepository {
    
        private T descriptor;
    
        protected AbstractResolutionAwareArtifactRepository(ObjectFactory objectFactory, VersionParser versionParser) {
            super(objectFactory, versionParser);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopySpecBackedCopyActionProcessingStreamTest.groovy

    import org.gradle.api.model.ObjectFactory
    import org.gradle.internal.nativeintegration.filesystem.FileSystem
    import org.gradle.internal.reflect.Instantiator
    import spock.lang.Specification
    
    class CopySpecBackedCopyActionProcessingStreamTest extends Specification {
        CopySpecInternal copySpecInternal = Mock()
        Instantiator instantiator = Mock()
        ObjectFactory objectFactory = Mock()
        FileSystem fileSystem = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomDistributionManagement.java

        @Inject
        public DefaultMavenPomDistributionManagement(ObjectFactory objectFactory) {
            this.objectFactory = objectFactory;
            downloadUrl = objectFactory.property(String.class);
        }
    
        @Override
        public Property<String> getDownloadUrl() {
            return downloadUrl;
        }
    
        @Override
        public void relocation(Action<? super MavenPomRelocation> action) {
            if (relocation == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopySpecBackedCopyActionProcessingStream.java

        public CopySpecBackedCopyActionProcessingStream(CopySpecInternal spec, Instantiator instantiator, ObjectFactory objectFactory, FileSystem fileSystem, boolean reproducibleFileOrder) {
            this.spec = spec;
            this.instantiator = instantiator;
            this.objectFactory = objectFactory;
            this.fileSystem = fileSystem;
            this.reproducibleFileOrder = reproducibleFileOrder;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomDeveloper.java

        @Inject
        public DefaultMavenPomDeveloper(ObjectFactory objectFactory) {
            id = objectFactory.property(String.class);
            name = objectFactory.property(String.class);
            email = objectFactory.property(String.class);
            url = objectFactory.property(String.class);
            organization = objectFactory.property(String.class);
            organizationUrl = objectFactory.property(String.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/DefaultSoftwareComponentFactory.java

    import org.gradle.api.component.SoftwareComponentFactory;
    import org.gradle.api.model.ObjectFactory;
    
    public class DefaultSoftwareComponentFactory implements SoftwareComponentFactory {
    
        private final ObjectFactory objectFactory;
    
        public DefaultSoftwareComponentFactory(ObjectFactory objectFactory) {
            this.objectFactory = objectFactory;
        }
    
        @Override
        public AdhocComponentWithVariants adhoc(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyFileVisitorImplTest.groovy

        CopyActionProcessingStreamAction action = Mock()
        Instantiator instantiator = Mock()
        ObjectFactory objectFactory = Mock()
        FileSystem fileSystem = Mock()
        FileTree source = Mock()
        FileVisitor copyFileVisitorImpl
    
        def setup() {
            copyFileVisitorImpl = new CopyFileVisitorImpl(specResolver, action, instantiator, objectFactory, fileSystem, false)
        }
    
        def "visit directory"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/swift/internal/DefaultSwiftExecutable.java

            this.executableFile = objectFactory.fileProperty();
            this.executableFileProducer = objectFactory.property(Task.class);
            this.installDirectory = objectFactory.directoryProperty();
            this.linkTaskProperty = objectFactory.property(LinkExecutable.class);
            this.installTaskProperty = objectFactory.property(InstallExecutable.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ObjectFactoryExtensions.kt

     * @return the created named object
     *
     * @see [ObjectFactory.newInstance]
     */
    inline fun <reified T> ObjectFactory.newInstance(vararg parameters: Any): T =
        newInstance(T::class.java, *parameters)
    
    
    /**
     * Creates a [Property] that holds values of the given type [T].
     *
     * @see [ObjectFactory.property]
     */
    inline fun <reified T> ObjectFactory.property(): Property<T> =
        property(T::class.java)
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top