| /******************************************************************************* |
| * Copyright (c) 2002, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.wtp.releng.tools.component; |
| |
| import java.util.List; |
| |
| public interface IPluginXML |
| { |
| public static final String CONST_PLUGIN_XML = "plugin.xml"; |
| |
| /** |
| * Answers the libraries that are declared in this plugin. |
| * |
| * @return List libraries in this plugin |
| */ |
| public List getLibraries(); |
| |
| /** |
| * Answers the name of this plugin. Plugin names do not contain the version |
| * identifier, for example, org.eclipse.core.resources. |
| * |
| * @return String the name of the plugin, not <code>null</code>. |
| */ |
| public String getName(); |
| |
| /** |
| * Answers the version identifier for the plugin. A version identifier is a |
| * '.' delimited set of numbers, for example, 2.0.1.5. |
| * |
| * @return String the plugin version, not <code>null</code>. |
| */ |
| public String getVersion(); |
| |
| /** |
| * The unique identifier is a concatination of the plugin name, and '_' and |
| * the plugin version. |
| * |
| * @return String the unique identifier of the plugin. |
| */ |
| public String getUniqueIdentifier(); |
| |
| public void accept(IClazzVisitor visitor); |
| } |