1 12 package org.eclipse.pde.build; 13 14 import java.util.Map ; 15 import java.util.Properties ; 16 import org.eclipse.core.runtime.CoreException; 17 import org.eclipse.core.runtime.IPath; 18 19 42 public interface IFetchFactory { 43 44 public static final String KEY_ELEMENT_NAME = "element"; 46 47 public static final String KEY_ELEMENT_TYPE = "type"; 49 58 public static final String KEY_ELEMENT_TAG = "tag"; 60 61 public static final String ELEMENT_TYPE_BUNDLE = "bundle"; 63 64 public static final String ELEMENT_TYPE_FEATURE = "feature"; 66 67 public static final String ELEMENT_TYPE_FRAGMENT = "fragment"; 69 70 public static final String ELEMENT_TYPE_PLUGIN = "plugin"; 72 91 public void parseMapFileEntry(String rawEntry, Properties overrideTags, Map entryInfos) throws CoreException; 92 93 102 public void generateRetrieveElementCall(Map entryInfos, IPath destination, IAntScript script); 103 104 114 public void generateRetrieveFilesCall(Map entryInfos, IPath destination, String [] files, IAntScript script); 115 116 121 public void addTargets(IAntScript script); 122 } 123 | Popular Tags |