| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.tools.ant.ProjectComponent
Base class for components of a project, including tasks and data types. Provides common facilities.
| Field Summary | |
| protected  Project | projectDeprecated. You should not be directly accessing this variable directly. You should access project object via the getProject() or setProject() accessor/mutators. | 
| Constructor Summary | |
| ProjectComponent()Sole constructor. | |
| Method Summary | |
|  Project | getProject()Returns the project to which this component belongs. | 
|  void | log(java.lang.String msg)Logs a message with the default (INFO) priority. | 
|  void | log(java.lang.String msg,
    int msgLevel)Logs a message with the given priority. | 
|  void | setProject(Project project)Sets the project object of this component. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected Project project
| Constructor Detail | 
public ProjectComponent()
| Method Detail | 
public void setProject(Project project)
project - Project in whose scope this component belongs.
                Must not be null.public Project getProject()
public void log(java.lang.String msg)
msg - The message to be logged. Should not be null.
public void log(java.lang.String msg,
                int msgLevel)
msg - The message to be logged. Should not be null.msgLevel - the message priority at which this message is
                 to be logged.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||