Class TychoRepositoryTransport
java.lang.Object
org.eclipse.equinox.internal.p2.repository.Transport
org.eclipse.tycho.p2maven.transport.TychoRepositoryTransport
- All Implemented Interfaces:
org.eclipse.equinox.p2.core.spi.IAgentServiceFactory
@Component(role=org.eclipse.equinox.internal.p2.repository.Transport.class,
hint="tycho")
public class TychoRepositoryTransport
extends org.eclipse.equinox.internal.p2.repository.Transport
implements org.eclipse.equinox.p2.core.spi.IAgentServiceFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.equinox.internal.p2.repository.Transport
org.eclipse.equinox.internal.p2.repository.Transport.ProtocolRule -
Field Summary
Fields inherited from class org.eclipse.equinox.internal.p2.repository.Transport
SERVICE_NAMEFields inherited from interface org.eclipse.equinox.p2.core.spi.IAgentServiceFactory
PROP_CREATED_SERVICE_NAME, SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService(org.eclipse.equinox.p2.core.IProvisioningAgent agent) org.eclipse.core.runtime.IStatusdownload(URI toDownload, OutputStream target, long startPos, org.eclipse.core.runtime.IProgressMonitor monitor) org.eclipse.core.runtime.IStatusdownload(URI toDownload, OutputStream target, org.eclipse.core.runtime.IProgressMonitor monitor) static ExecutorlonggetLastModified(URI toDownload, org.eclipse.core.runtime.IProgressMonitor monitor) Methods inherited from class org.eclipse.equinox.internal.p2.repository.Transport
getDefaultProtocolRules, getProtocolRule, getProtocolRules, getSecureLocation, setProtocolRules
-
Constructor Details
-
TychoRepositoryTransport
public TychoRepositoryTransport()
-
-
Method Details
-
download
public org.eclipse.core.runtime.IStatus download(URI toDownload, OutputStream target, long startPos, org.eclipse.core.runtime.IProgressMonitor monitor) - Overrides:
downloadin classorg.eclipse.equinox.internal.p2.repository.Transport
-
download
public org.eclipse.core.runtime.IStatus download(URI toDownload, OutputStream target, org.eclipse.core.runtime.IProgressMonitor monitor) - Specified by:
downloadin classorg.eclipse.equinox.internal.p2.repository.Transport
-
stream
public InputStream stream(URI toDownload, org.eclipse.core.runtime.IProgressMonitor monitor) throws FileNotFoundException, org.eclipse.core.runtime.CoreException, org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException - Specified by:
streamin classorg.eclipse.equinox.internal.p2.repository.Transport- Throws:
FileNotFoundExceptionorg.eclipse.core.runtime.CoreExceptionorg.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
-
getLastModified
public long getLastModified(URI toDownload, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException, FileNotFoundException, org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException - Specified by:
getLastModifiedin classorg.eclipse.equinox.internal.p2.repository.Transport- Throws:
org.eclipse.core.runtime.CoreExceptionFileNotFoundExceptionorg.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
-
createService
- Specified by:
createServicein interfaceorg.eclipse.equinox.p2.core.spi.IAgentServiceFactory
-
getDownloadExecutor
-