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: de25faf5f70bf92026b2d934db52a6a05d8dce5e $ |
package |
phing.tasks.system |
deprecated |
|
addText(string $prompt) : void
string
getDefaultMessage()
getDefaultValue() : string
string
getDescription() : string
string
The text description of the task
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getPromptCharacter() : string
string
getPromptText() : \java.lang.String
\java.lang.String
getPropertyName() : string
string
getRegisterSlot(string $slotName) : \RegisterSlot
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
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
log(string $msg, integer $level = \Project::MSG_INFO) : void
string
The message to be logged.
integer
The message's priority at this message should have
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
maybeConfigure()
perform()
throws | |
---|---|
setDefaultvalue(string $newDefaultvalue)
string
setDescription(string $desc)
string
The text describing the task
setLocation(\Location $location)
setOwningTarget(\Target $target)
setProject(\Project $project) : void
setPromptCharacter(string $newPromptcharacter)
string
setPromptText(string $newPrompttext)
string
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
setUseExistingValue(boolean $newUseExistingValue)
boolean
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