| Modifier and Type | Class and Description |
|---|---|
| public class | Input.Handler
Represents an InputHandler. |
| public static class | Input.HandlerType
EnumeratedAttribute representing the built-in input handler types: "default", "propertyfile", "greedy", "secure" (since Ant 1.8). |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private Input. | |
| private String | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Input. | |
| public void | |
| public void | setAddproperty(final String
Name for the property to be created from input addproperty)Defines the name of a property to be created from input. |
| public void | setDefaultvalue(final String
Default value for the property if no input
is received defaultvalue)Defines the default value of the property to be created from input. |
| public void | setMessage(final String
The message to be displayed. message)Sets the Message which gets displayed to the user during the build run. |
| public void | setValidargs(final String
A comma separated String defining valid input args. validargs)Defines valid input parameters as comma separated strings. |
| addproperty | back to summary |
|---|---|
| private String addproperty | |
| defaultvalue | back to summary |
|---|---|
| private String defaultvalue | |
| handler | back to summary |
|---|---|
| private Input. | |
| message | back to summary |
|---|---|
| private String message | |
| messageAttribute | back to summary |
|---|---|
| private boolean messageAttribute | |
| validargs | back to summary |
|---|---|
| private String validargs | |
| Input | back to summary |
|---|---|
| public Input() | |
| addText | back to summary |
|---|---|
| public void addText(final String msg) Set a multiline message.
| |
| createHandler | back to summary |
|---|---|
| public Input. Create a nested handler element. | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Actual method executed by ant.
| |
| setAddproperty | back to summary |
|---|---|
| public void setAddproperty(final String addproperty) Defines the name of a property to be created from input. Behaviour is according to property task which means that existing properties cannot be overridden.
| |
| setDefaultvalue | back to summary |
|---|---|
| public void setDefaultvalue(final String defaultvalue) Defines the default value of the property to be created from input. Property value will be set to default if not input is received.
| |
| setMessage | back to summary |
|---|---|
| public void setMessage(final String message) Sets the Message which gets displayed to the user during the build run.
| |
| setValidargs | back to summary |
|---|---|
| public void setValidargs(final String validargs) Defines valid input parameters as comma separated strings. If set, input task will reject any input not defined as accepted and requires the user to reenter it. Validargs are case sensitive. If you want 'a' and 'A' to be accepted you need to define both values as accepted arguments.
| |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private Input. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| private InputHandler | |
| public String | |
| public Input. | |
| public void | |
| public void | |
| public void |
| classname | back to summary |
|---|---|
| private String classname | |
| refid | back to summary |
|---|---|
| private String refid | |
| type | back to summary |
|---|---|
| private Input. | |
| Handler | back to summary |
|---|---|
| public Handler() | |
| getClassname | back to summary |
|---|---|
| public String getClassname() Get the classname of the InputHandler.
| |
| getInputHandler | back to summary |
|---|---|
| private InputHandler getInputHandler() | |
| getRefid | back to summary |
|---|---|
| public String getRefid() Get the refid of this Handler.
| |
| getType | back to summary |
|---|---|
| public Input. Get the handler type.
| |
| setClassname | back to summary |
|---|---|
| public void setClassname(final String classname) Set the InputHandler classname.
| |
| setRefid | back to summary |
|---|---|
| public void setRefid(final String refid) Specify that the handler is a reference on the project; this allows the use of a custom inputhandler.
| |
| setType | back to summary |
|---|---|
| public void setType(final Input. Set the handler type.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final InputHandler[] | |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private InputHandler | |
| public String[] | getValues()
Implements abstract org. |
| HANDLERS | back to summary |
|---|---|
| private static final InputHandler[] HANDLERS | |
| VALUES | back to summary |
|---|---|
| private static final String[] VALUES | |
| HandlerType | back to summary |
|---|---|
| public HandlerType() | |
| getInputHandler | back to summary |
|---|---|
| private InputHandler getInputHandler() | |
| getValues | back to summary |
|---|---|
| public String[] getValues() Implements abstract org. Doc from org. This is the only method a subclass needs to implement. | |