org.apache.tools.ant.taskdefs
public class Input extends Task
Since: Ant 1.5
UNKNOWN: category="control"
Constructor Summary | |
---|---|
Input()
No arg constructor. |
Method Summary | |
---|---|
void | addText(String msg)
Set a multiline message. |
void | execute()
Actual method executed by ant. |
void | setAddproperty(String addproperty)
Defines the name of a property to be created from input. |
void | setDefaultvalue(String defaultvalue)
Defines the default value of the property to be created from input.
|
void | setMessage(String message)
Sets the Message which gets displayed to the user during the build run. |
void | setValidargs(String validargs)
Defines valid input parameters as comma separated strings. |
Parameters: msg The message to be displayed.
Throws: BuildException on error
Parameters: addproperty Name for the property to be created from input
Parameters: defaultvalue Default value for the property if no input is received
Parameters: message The message to be displayed.
Parameters: validargs A comma separated String defining valid input args.