Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-02-26 11:05:05 -0500
committerAndrew Niefer2010-02-26 11:05:05 -0500
commit1d3249ec1e35262ad92a8081c59d4d3e5b6d3cf9 (patch)
tree355f3f27c73b26254fd294987971139818aa5235 /bundles/org.eclipse.equinox.p2.repository
parent3328c174483daac28c1be073b1591ebdd8d974f7 (diff)
downloadrt.equinox.p2-1d3249ec1e35262ad92a8081c59d4d3e5b6d3cf9.tar.gz
rt.equinox.p2-1d3249ec1e35262ad92a8081c59d4d3e5b6d3cf9.tar.xz
rt.equinox.p2-1d3249ec1e35262ad92a8081c59d4d3e5b6d3cf9.zip
bug 301305 - missing methods on IArtifactRequest
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRequest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRequest.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRequest.java
index bced2464c..c1518cf63 100644
--- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRequest.java
+++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRequest.java
@@ -34,6 +34,15 @@ public interface IArtifactRequest {
public IArtifactKey getArtifactKey();
/**
+ * Performs the artifact request, and sets the result status.
+ *
+ * @param sourceRepository the repository to download the artifact from
+ * @param monitor a progress monitor, or <code>null</code> if progress
+ * reporting is not desired
+ */
+ public void perform(IArtifactRepository sourceRepository, IProgressMonitor monitor);
+
+ /**
* Returns the result of the executed artifact request, or <code>null</code> if
* the request has never been executed. Artifact requests are executed by invoking
* {@link IArtifactRepository#getArtifacts(IArtifactRequest[], IProgressMonitor)}.

Back to the top