KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ant > core > IAntClasspathEntry


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.ant.core;
12
13 import java.net.URL JavaDoc;
14
15 /**
16  * Represents an Ant classpath entry.
17  * Clients may implement this interface.
18  *
19  * @since 3.0
20  */

21 public interface IAntClasspathEntry {
22
23     /**
24      * Returns the label for this classpath entry.
25      * @return the label for this entry.
26      */

27     public String JavaDoc getLabel();
28     
29     /**
30      * Returns the URL for this classpath entry or <code>null</code>
31      * if it cannot be resolved.
32      *
33      * @return the url for this classpath entry.
34      */

35     public URL JavaDoc getEntryURL();
36     
37     /**
38      * Returns whether this classpath entry requires the Eclipse runtime to be
39      * relevant. Defaults value is <code>true</code>
40      *
41      * @return whether this classpath entry requires the Eclipse runtime
42      */

43     public boolean isEclipseRuntimeRequired();
44 }
45
Popular Tags