tasks/system/InputTask.php

Show: inherited
Table of Contents

\InputTask

Package: phing\tasks\system

Reads input from the InputHandler.

Parent(s)
\Task < \ProjectComponent
See
\Project::getInputHandler()  
Author
Hans Lellelid (Phing)  
Author
Ulrich Schmidt (Ant)  
Author
Stefan Bodewig (Ant)  
Version
$Revision: 526 $  

Properties

Propertyprivate  $defaultValue= ''
Details
Type
n/a
Propertyprivate  $message= '""'
Default value""Details
Type
n/a
Propertyprivate  $promptChar= ''
Details
Type
n/a
Propertyprivate  $propertyName= ''
Details
Type
n/a
Propertyprivate  $validargs= ''
Details
Type
n/a

Methods

methodpublicaddText(  $msg ) : void

Set a multiline message.

Parameters
Name Type Description
$msg
methodpublicgetDescription( ) : void

methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void

Actual method executed by phing.

Throws
Exception Description
\BuildException
methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetDefaultValue( string $v ) : void

Add a default value.

Parameters
Name Type Description
$v string
methodpublicsetDescription( ) : void

methodpublicsetLocation( ) : void

methodpublicsetMessage( \message $message ) : void

Sets the Message which gets displayed to the user during the build run.

Parameters
Name Type Description
$message \message

The message to be displayed.

methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetPromptChar( string $c ) : void

Set the character/string to use for the prompt.

Parameters
Name Type Description
$c string
methodpublicsetPropertyName( string $name ) : void

Defines the name of a property to be set from input.

Parameters
Name Type Description
$name string

Name for the property to be set from input

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

methodpublicsetValidargs( \validargs $validargs ) : void

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.

Parameters
Name Type Description
$validargs \validargs

A comma separated String defining valid input args.

Documentation was generated by DocBlox 0.17.1.