org.apache.tools.ant
public abstract class ProjectComponent extends Object
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(String msg)
Logs a message with the default (INFO) priority.
|
void | log(String msg, int msgLevel)
Logs a message with the given priority.
|
void | setProject(Project project)
Sets the project object of this component. |
Deprecated: You should not be directly accessing this variable directly. You should access project object via the getProject() or setProject() accessor/mutators.
Project object of this component.Returns: the components's project.
Parameters: msg The message to be logged. Should not be null
.
Parameters: msg The message to be logged. Should not be null
. msgLevel the message priority at which this message is
to be logged.
Parameters: project Project in whose scope this component belongs.
Must not be null
.