KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > invicta > api > Target


1 package net.sf.invicta.api;
2
3 import java.util.List JavaDoc;
4
5 /**
6  * An interface that represents a target template definition of a component,
7  * which is defined in a type definition of a component.
8  * It contains similar attributes to the target element of an ANT build
9  * script.
10  */

11 public interface Target {
12     
13     /**
14      * Returns the name of the target.
15      * @return String. Target name. For example: 'compile'.
16      */

17     public String JavaDoc getName();
18     
19     /**
20      * Returns a list of target names (or handler calls) that this target
21      * depends on.
22      * @return List of String objects.
23      */

24     public abstract List JavaDoc getDependsList();
25     
26     /**
27      * Returns the description of the target.
28      * @return String
29      */

30     public abstract String JavaDoc getDescription();
31     
32     /**
33      * Returns the value of the 'if' conditional attribute of the target.
34      * @return String
35      */

36     public abstract String JavaDoc getIf();
37     
38     /**
39      * Returns the value of the 'unless' conditional attribute of the target.
40      * @return String
41      */

42     public abstract String JavaDoc getUnless();
43 }
Popular Tags