KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > itarget > ITarget


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.core.itarget;
12
13 public interface ITarget extends ITargetObject {
14     
15     final String JavaDoc P_NAME = "name"; //$NON-NLS-1$
16
final String JavaDoc P_ALL_PLUGINS = "useAllPlugins"; //$NON-NLS-1$
17

18     void reset();
19     
20     String JavaDoc getName();
21     
22     void setName(String JavaDoc 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 JavaDoc id);
65     
66     boolean containsFeature(String JavaDoc 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 JavaDoc desc);
79     
80     String JavaDoc getDescription();
81     
82     boolean isValidFeatureObject(Object JavaDoc featureObj);
83
84 }
85
Popular Tags