1 11 package org.eclipse.pde.internal.core.itarget; 12 13 public interface ITarget extends ITargetObject { 14 15 final String P_NAME = "name"; final String P_ALL_PLUGINS = "useAllPlugins"; 18 void reset(); 19 20 String getName(); 21 22 void setName(String name); 23 24 IArgumentsInfo getArguments(); 25 26 void setArguments(IArgumentsInfo info); 27 28 IEnvironmentInfo getEnvironment(); 29 30 void setEnvironment(IEnvironmentInfo info); 31 32 ITargetJRE getTargetJREInfo(); 33 34 void setTargetJREInfo(ITargetJRE info); 35 36 ILocationInfo getLocationInfo(); 37 38 void setImplicitPluginsInfo(IImplicitDependenciesInfo info); 39 40 IImplicitDependenciesInfo getImplicitPluginsInfo(); 41 42 void setLocationInfo(ILocationInfo info); 43 44 void addPlugin(ITargetPlugin plugin); 45 46 void addPlugins(ITargetPlugin[] plugins); 47 48 void addFeature(ITargetFeature feature); 49 50 void addFeatures(ITargetFeature features[]); 51 52 void removePlugin(ITargetPlugin plugin); 53 54 void removePlugins(ITargetPlugin[] plugins); 55 56 void removeFeature(ITargetFeature feature); 57 58 void removeFeatures(ITargetFeature[] features); 59 60 ITargetPlugin[] getPlugins(); 61 62 ITargetFeature[] getFeatures(); 63 64 boolean containsPlugin(String id); 65 66 boolean containsFeature(String id); 67 68 boolean useAllPlugins(); 69 70 void setUseAllPlugins(boolean value); 71 72 IAdditionalLocation[] getAdditionalDirectories(); 73 74 void removeAdditionalDirectories(IAdditionalLocation[] dirs); 75 76 void addAdditionalDirectories(IAdditionalLocation[] dirs); 77 78 void setDescription(String desc); 79 80 String getDescription(); 81 82 boolean isValidFeatureObject(Object featureObj); 83 84 } 85 | Popular Tags |