public abstract class ArtifactTransferPolicy extends Object
| Constructor and Description |
|---|
ArtifactTransferPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCanonicalFormat(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor format) |
static boolean |
isPack200Format(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor format) |
abstract org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor |
pickFormat(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor[] formats)
Returns the preferred format to be used for a (non-raw) artifact read operation.
|
public abstract org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor pickFormat(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor[] formats)
throws IllegalArgumentException
formats - the list of raw artifact formats available from a providerIllegalArgumentException - if the list of formats is emptypublic static boolean isCanonicalFormat(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor format)
public static boolean isPack200Format(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor format)
Copyright © 2008-2013 Eclipse Foundation. All Rights Reserved.