![]()
|
ProjectComponent (Apache Ant API)
org.apache.tools.ant
|
Field Summary | |
protected Project |
project
Project object of this component. |
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 mesage 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 |