classes/phing/tasks/system/ExitTask.php

Exits the active build, giving an additional message if available.

author
Hans Lellelid (Phing)
author
Nico Seessle (Ant)
package
phing.tasks.system
version
$Revision: 526 $

\ExitTask

Exits the active build, giving an additional message if available.

Use {@link Project#createTask} to register a new Task.

Extends from
\Task
author
Hans Lellelid (Phing)
author
Nico Seessle (Ant)
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.system
version
$Revision: 526 $

Properties

Propertyprivate  $ifCondition= ''
Details
Type
Propertyprivate  $message= ''
Details
Type
Propertyprivate  $unlessCondition= ''
Details
Type

Methods

methodpublic  addText(  $msg ) :
Set a multiline message.
Parameters
Name Type Description
$msg
methodpublic  main( ) :
Details
throws
methodpublic  setIf( \c $c ) :
Only fail if a property of the given name exists in the current project.
Parameters
Name Type Description
$c \c property name
methodpublic  setMessage( \value $value ) :
A message giving further information on why the build exited.
Parameters
Name Type Description
$value \value message to output
methodpublic  setMsg( string $value ) :
A message giving further information on why the build exited.
Parameters
Name Type Description
$value string message to output
methodpublic  setUnless( \c $c ) :
Only fail if a property of the given name does not exist in the current project.
Parameters
Name Type Description
$c \c property name
methodprivate  testIfCondition( ) : boolean
Returns
Type Description
boolean
methodprivate  testUnlessCondition( ) : boolean
Returns
Type Description
boolean
Documentation was generated by DocBlox 0.13.1.