public final class ArtifactTransferPolicies extends Object
Constructor and Description |
---|
ArtifactTransferPolicies() |
Modifier and Type | Method and Description |
---|---|
static ArtifactTransferPolicy |
forLocalArtifacts()
Returns the
ArtifactTransferPolicy optimized for artifacts stored in the local file
system. |
static ArtifactTransferPolicy |
forRemoteArtifacts()
Returns the
ArtifactTransferPolicy optimized for artifacts stored on a remote server. |
public static ArtifactTransferPolicy forLocalArtifacts()
ArtifactTransferPolicy
optimized for artifacts stored in the local file
system. A provider with this policy will use the canonical format (if available) when asked
for an artifact, avoiding unnecessary pack200 decompression operations.public static ArtifactTransferPolicy forRemoteArtifacts()
ArtifactTransferPolicy
optimized for artifacts stored on a remote server.
A provider with this policy will internally use the size-optimized pack200 format (if
available) when asked for an artifact. This policy leads to a lower network usage, at the
cost of a higher CPU usage.Copyright © 2008–2024 Eclipse Foundation. All rights reserved.