Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e7f8266755ba68ee1e45a29d66f148bf68260768 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package org.eclipse.cdt.p2.internal.repo.artifact;

import java.io.OutputStream;
import java.net.URI;
import java.util.Map;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.equinox.internal.provisional.p2.artifact.repository.IArtifactDescriptor;
import org.eclipse.equinox.internal.provisional.p2.artifact.repository.IArtifactRequest;
import org.eclipse.equinox.internal.provisional.p2.core.ProvisionException;
import org.eclipse.equinox.internal.provisional.p2.metadata.IArtifactKey;
import org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.AbstractArtifactRepository;

public class InstallDirArtifactRepository extends AbstractArtifactRepository {

	public static String type = InstallDirArtifactRepository.class.getName();
	private static String version = "1.0.0";
	private static String description = "Artifact repository managing installed contents";
	private static String provider = "Eclipse";
	
	@SuppressWarnings("unchecked")
	public InstallDirArtifactRepository(String name, URI location, Map properties) {
		super(name, type, version, location, description, provider, properties);
	}

	@Override
	public boolean contains(IArtifactDescriptor descriptor) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean contains(IArtifactKey key) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public IStatus getArtifact(IArtifactDescriptor descriptor,
			OutputStream destination, IProgressMonitor monitor) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IArtifactDescriptor[] getArtifactDescriptors(IArtifactKey key) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IArtifactKey[] getArtifactKeys() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IStatus getArtifacts(IArtifactRequest[] requests,
			IProgressMonitor monitor) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputStream getOutputStream(IArtifactDescriptor descriptor)
			throws ProvisionException {
		// TODO Auto-generated method stub
		return null;
	}

	public IStatus getRawArtifact(IArtifactDescriptor descriptor,
			OutputStream destination, IProgressMonitor monitor) {
		// TODO Auto-generated method stub
		return null;
	}

}

Back to the top