KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > Artifact


1 /*
2  * This file is subject to the license found in LICENCE.TXT in the root directory of the project.
3  *
4  * #SNAPSHOT#
5  */

6 package fr.jayasoft.ivy;
7
8 import java.net.URL JavaDoc;
9 import java.util.Date JavaDoc;
10
11 import fr.jayasoft.ivy.extendable.ExtendableItem;
12
13
14 /**
15  * @author x.hanin
16  *
17  */

18 public interface Artifact extends ExtendableItem {
19     /**
20      * Returns the resolved module revision id for this artifact
21      * @return
22      */

23     ModuleRevisionId getModuleRevisionId();
24     /**
25      * Returns the resolved publication date for this artifact
26      * @return the resolved publication date
27      */

28     Date JavaDoc getPublicationDate();
29     String JavaDoc getName();
30     String JavaDoc getType();
31     String JavaDoc getExt();
32     /**
33      * Returns the url at which this artifact can be found independently of ivy configuration.
34      * This can be null (and is usually for standard artifacts)
35      * @return url at which this artifact can be found independently of ivy configuration
36      */

37     URL JavaDoc getUrl();
38     String JavaDoc[] getConfigurations();
39
40     /**
41      * @return the id of the artifact
42      */

43     ArtifactRevisionId getId();
44 }
45
Popular Tags