public class UppercaseTask extends Task
description, location, project| Constructor and Description |
|---|
UppercaseTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Called by the project to let the task do its work.
|
void |
setProperty(String newPropertyName)
Sets the name of the property.
|
void |
setText(String text)
Sets the text to be set in uppercase.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void setProperty(String newPropertyName)
newPropertyName - the name of the property to store the uppercase value.public void setText(String text)
text - the text that has to be set in uppercase.public void execute()
throws BuildException
execute in class TaskBuildException - if something goes wrong with the build.See http://www.xins.org/.