@Named(value="file") public final class FileTransporterFactory extends Object implements org.eclipse.aether.spi.connector.transport.TransporterFactory, org.eclipse.aether.spi.locator.Service
file:
protocol.Constructor and Description |
---|
FileTransporterFactory()
Creates an (uninitialized) instance of this transporter factory.
|
Modifier and Type | Method and Description |
---|---|
float |
getPriority() |
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator) |
org.eclipse.aether.spi.connector.transport.Transporter |
newInstance(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository) |
FileTransporterFactory |
setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
Sets the logger factory to use for this component.
|
FileTransporterFactory |
setPriority(float priority)
Sets the priority of this component.
|
public FileTransporterFactory()
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
initService
in interface org.eclipse.aether.spi.locator.Service
public FileTransporterFactory setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
loggerFactory
- The logger factory to use, may be null
to disable logging.null
.public float getPriority()
getPriority
in interface org.eclipse.aether.spi.connector.transport.TransporterFactory
public FileTransporterFactory setPriority(float priority)
priority
- The priority.null
.public org.eclipse.aether.spi.connector.transport.Transporter newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoTransporterException
newInstance
in interface org.eclipse.aether.spi.connector.transport.TransporterFactory
org.eclipse.aether.transfer.NoTransporterException
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.