Deprecated task that uses console to prompt user for property values.
This class is very slightly simpler than the InputTask, but lacks the ability to use a non-console input handler. You should, therefore, use InputTask. This class can serve as a reference, but will be removed in the future.
author |
Hans Lellelid hans@xmpl.org (Phing) |
---|---|
author |
Anthony J. Young-Garner ajyoung@alum.mit.edu (Ant) |
version |
$Id: cac8845ae2192d411a718ba149b71670c3102897 $ |
package |
phing.tasks.system |
deprecated |
|
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
getDefaultMessage()
getDefaultValue() : string
string
getPromptCharacter() : string
string
getPromptText() : \java.lang.String
\java.lang.String
getPropertyName() : string
string
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws |
---|
isUseExistingValue() : boolean
Creation date: (12/10/2001 8:16:16 AM)
boolean
setDefaultvalue(string $newDefaultvalue)
string
setPromptCharacter(string $newPromptcharacter)
string
setPromptText(string $newPrompttext)
string
setPropertyName($newPropertyname)
setUseExistingValue(boolean $newUseExistingValue)
boolean
addText(string $prompt) : void
string
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
string
Name of this task
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
getTaskType() : string
string
The type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
setDescription(string $desc)
string
The text describing the task
getDescription() : string
string
The text description of the task
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
propertyName : string
var |
---|
string
defaultValue : string
var |
---|
string
proposedValue : string
var |
---|
string
promptText : string
var |
---|
string
promptCharacter : string
var |
---|
string
useExistingValue :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project