Java 类org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory 实例源码

项目:Reer    文件:DefaultBaseRepositoryFactory.java   
public DefaultBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator,
                                    FileResolver fileResolver,
                                    Instantiator instantiator,
                                    RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                    FileStore<ModuleComponentArtifactIdentifier> artifactFileStore,
                                    MetaDataParser<MutableMavenModuleResolveMetadata> pomParser,
                                    AuthenticationSchemeRegistry authenticationSchemeRegistry,
                                    IvyContextManager ivyContextManager) {
    this.localMavenRepositoryLocator = localMavenRepositoryLocator;
    this.fileResolver = fileResolver;
    this.instantiator = instantiator;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.pomParser = pomParser;
    this.authenticationSchemeRegistry = authenticationSchemeRegistry;
    this.ivyContextManager = ivyContextManager;
}
项目:Reer    文件:DefaultDependencyManagementServices.java   
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                                  ArtifactIdentifierFileStore artifactIdentifierFileStore,
                                                  VersionSelectorScheme versionSelectorScheme,
                                                  AuthenticationSchemeRegistry authenticationSchemeRegistry,
                                                  IvyContextManager ivyContextManager) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            artifactIdentifierFileStore,
            new GradlePomModuleDescriptorParser(versionSelectorScheme),
            authenticationSchemeRegistry,
            ivyContextManager
    );
}
项目:Reer    文件:MavenRemotePublisher.java   
public GradleWagonMavenDeployAction(File pomFile, MavenArtifactRepository artifactRepository, RepositoryTransportFactory repositoryTransportFactory) {
    super(pomFile, null);
    this.artifactRepository = artifactRepository;
    this.repositoryTransportFactory = repositoryTransportFactory;

    registerWagonProtocols();
}
项目:Reer    文件:DefaultIvyArtifactRepository.java   
public DefaultIvyArtifactRepository(FileResolver fileResolver, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder, Instantiator instantiator,
                                    FileStore<ModuleComponentArtifactIdentifier> artifactFileStore, AuthenticationContainer authenticationContainer,
                                    IvyContextManager ivyContextManager) {
    super(instantiator, authenticationContainer);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.additionalPatternsLayout = new AdditionalPatternsRepositoryLayout(fileResolver);
    this.layout = new GradleRepositoryLayout();
    this.metaDataProvider = new MetaDataProvider();
    this.instantiator = instantiator;
    this.ivyContextManager = ivyContextManager;
}
项目:Reer    文件:DefaultMavenArtifactRepository.java   
public DefaultMavenArtifactRepository(FileResolver fileResolver, RepositoryTransportFactory transportFactory,
                                      LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                      Instantiator instantiator,
                                      FileStore<ModuleComponentArtifactIdentifier> artifactFileStore,
                                      MetaDataParser<MutableMavenModuleResolveMetadata> pomParser,
                                      AuthenticationContainer authenticationContainer) {
    super(instantiator, authenticationContainer);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.pomParser = pomParser;
}
项目:Reer    文件:DefaultFlatDirArtifactRepository.java   
public DefaultFlatDirArtifactRepository(FileResolver fileResolver,
                                        RepositoryTransportFactory transportFactory,
                                        LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                        FileStore<ModuleComponentArtifactIdentifier> artifactFileStore, IvyContextManager ivyContextManager) {
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.ivyContextManager = ivyContextManager;
}
项目:Reer    文件:DependencyManagementBuildScopeServices.java   
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory,
                                                            TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex,
                                                            BuildCommencedTimeProvider buildCommencedTimeProvider,
                                                            CacheLockingManager cacheLockingManager,
                                                            ServiceRegistry serviceRegistry) {
    return new RepositoryTransportFactory(
        serviceRegistry.getAll(ResourceConnectorFactory.class),
        progressLoggerFactory,
        temporaryFileProvider,
        externalResourceIndex,
        buildCommencedTimeProvider,
        cacheLockingManager
    );
}
项目:Pushjet-Android    文件:DefaultIvyArtifactRepository.java   
public DefaultIvyArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder, Instantiator instantiator,
                                    ResolverStrategy resolverStrategy, FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.artifactFileStore = artifactFileStore;
    this.additionalPatternsLayout = new AdditionalPatternsRepositoryLayout(fileResolver);
    this.layout = new GradleRepositoryLayout();
    this.metaDataProvider = new MetaDataProvider();
    this.instantiator = instantiator;
}
项目:Pushjet-Android    文件:DefaultBaseRepositoryFactory.java   
public DefaultBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator,
                                    FileResolver fileResolver,
                                    Instantiator instantiator,
                                    RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                    ResolverStrategy resolverStrategy,
                                    FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    this.localMavenRepositoryLocator = localMavenRepositoryLocator;
    this.fileResolver = fileResolver;
    this.instantiator = instantiator;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.artifactFileStore = artifactFileStore;
}
项目:Pushjet-Android    文件:DefaultMavenArtifactRepository.java   
public DefaultMavenArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                      LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                      FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
}
项目:Pushjet-Android    文件:DefaultFlatDirArtifactRepository.java   
public DefaultFlatDirArtifactRepository(FileResolver fileResolver,
                                        RepositoryTransportFactory transportFactory,
                                        LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                        ResolverStrategy resolverStrategy,
                                        FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.artifactFileStore = artifactFileStore;
}
项目:Pushjet-Android    文件:DependencyManagementBuildScopeServices.java   
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory,
                                                            TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex,
                                                            BuildCommencedTimeProvider buildCommencedTimeProvider,
                                                            SftpClientFactory sftpClientFactory,
                                                            CacheLockingManager cacheLockingManager) {
    return new RepositoryTransportFactory(
            progressLoggerFactory,
            temporaryFileProvider,
            externalResourceIndex,
            buildCommencedTimeProvider,
            sftpClientFactory,
            cacheLockingManager
    );
}
项目:Pushjet-Android    文件:DefaultDependencyManagementServices.java   
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                                  ResolverStrategy resolverStrategy, ArtifactIdentifierFileStore artifactIdentifierFileStore) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            resolverStrategy,
            artifactIdentifierFileStore
    );
}
项目:Pushjet-Android    文件:DefaultIvyArtifactRepository.java   
public DefaultIvyArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder, Instantiator instantiator,
                                    ResolverStrategy resolverStrategy) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.additionalPatternsLayout = new AdditionalPatternsRepositoryLayout(fileResolver);
    this.layout = new GradleRepositoryLayout();
    this.metaDataProvider = new MetaDataProvider();
    this.instantiator = instantiator;
}
项目:Pushjet-Android    文件:DefaultBaseRepositoryFactory.java   
public DefaultBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator,
                                    FileResolver fileResolver,
                                    Instantiator instantiator,
                                    RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                    LegacyDependencyResolverRepositoryFactory legacyDependencyResolverRepositoryFactory,
                                    ResolverStrategy resolverStrategy) {
    this.localMavenRepositoryLocator = localMavenRepositoryLocator;
    this.fileResolver = fileResolver;
    this.instantiator = instantiator;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.legacyDependencyResolverRepositoryFactory = legacyDependencyResolverRepositoryFactory;
    this.resolverStrategy = resolverStrategy;
}
项目:Pushjet-Android    文件:DefaultMavenArtifactRepository.java   
public DefaultMavenArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                      LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                      ResolverStrategy resolverStrategy) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
}
项目:Pushjet-Android    文件:DefaultFlatDirArtifactRepository.java   
public DefaultFlatDirArtifactRepository(FileResolver fileResolver,
                                        RepositoryTransportFactory transportFactory,
                                        LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                        ResolverStrategy resolverStrategy) {
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
}
项目:Pushjet-Android    文件:DependencyManagementBuildScopeServices.java   
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory, LocalFileRepositoryArtifactCache localFileRepositoryArtifactCache,
                                                            DownloadingRepositoryArtifactCache downloadingRepositoryArtifactCache, TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex, BuildCommencedTimeProvider buildCommencedTimeProvider) {
    return new RepositoryTransportFactory(
            progressLoggerFactory,
            localFileRepositoryArtifactCache,
            downloadingRepositoryArtifactCache,
            temporaryFileProvider,
            externalResourceIndex,
            buildCommencedTimeProvider
    );
}
项目:Pushjet-Android    文件:DefaultDependencyManagementServices.java   
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                                  LegacyDependencyResolverRepositoryFactory legacyDependencyResolverRepositoryFactory,
                                                  ResolverStrategy resolverStrategy) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            legacyDependencyResolverRepositoryFactory,
            resolverStrategy
    );
}
项目:Reer    文件:PublishToMavenRepository.java   
@Inject
protected RepositoryTransportFactory getRepositoryTransportFactory() {
    throw new UnsupportedOperationException();
}
项目:Reer    文件:MavenRemotePublisher.java   
public MavenRemotePublisher(Factory<LoggingManagerInternal> loggingManagerFactory, LocalMavenRepositoryLocator mavenRepositoryLocator, Factory<File> temporaryDirFactory, RepositoryTransportFactory repositoryTransportFactory) {
    super(loggingManagerFactory, mavenRepositoryLocator);
    this.temporaryDirFactory = temporaryDirFactory;
    this.repositoryTransportFactory = repositoryTransportFactory;
}
项目:Reer    文件:MavenRemotePublisher.java   
private RepositoryTransportWagonAdapter createAdapter(String protocol, MavenArtifactRepository artifactRepository, RepositoryTransportFactory repositoryTransportFactory) {
    RepositoryTransport transport = repositoryTransportFactory.createTransport(protocol, artifactRepository.getName(),
            ((AuthenticationSupportedInternal)artifactRepository).getConfiguredAuthentication());
    URI rootUri = artifactRepository.getUrl();
    return new RepositoryTransportWagonAdapter(transport, rootUri);
}
项目:Reer    文件:DefaultMavenLocalArtifactRepository.java   
public DefaultMavenLocalArtifactRepository(FileResolver fileResolver, RepositoryTransportFactory transportFactory,
                                           LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder, Instantiator instantiator,
                                           FileStore<ModuleComponentArtifactIdentifier> artifactFileStore, MetaDataParser<MutableMavenModuleResolveMetadata> pomParser,
                                           AuthenticationContainer authenticationContainer) {
    super(fileResolver, transportFactory, locallyAvailableResourceFinder, instantiator, artifactFileStore, pomParser, authenticationContainer);
}
项目:atlas    文件:PublishToMavenRepositoryHook.java   
@Inject
protected RepositoryTransportFactory getRepositoryTransportFactory() {
    throw new UnsupportedOperationException();
}
项目:Pushjet-Android    文件:DefaultMavenLocalArtifactRepository.java   
public DefaultMavenLocalArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                    FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(fileResolver, credentials, transportFactory, locallyAvailableResourceFinder, artifactFileStore);
}
项目:Pushjet-Android    文件:DefaultMavenLocalArtifactRepository.java   
public DefaultMavenLocalArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                    ResolverStrategy resolverStrategy) {
    super(fileResolver, credentials, transportFactory, locallyAvailableResourceFinder, resolverStrategy);
}