# 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
jump to top

Package: phing\tasks\system

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

Parent(s)
  \Task < \ProjectComponent
Author
  Hans Lellelid (Phing)
Author
  Nico Seessle (Ant)
Version
  $Revision: 526 $

### Properties

`$ifCondition= ''`
Details

Type
  n/a

`$message= ''`
Details

Type
  n/a

`$unlessCondition= ''`
Details

Type
  n/a

### Methods

`addText( $msg ) : void`

Set a multiline message.

Parameters

Name | Type | Description
--- | --- | ---
$msg |  |

`getDescription( ) : void`

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

`log( ) : void`

`main( ) : void`

Throws

Exception | Description
--- | ---
\BuildException |

`maybeConfigure( ) : void`

`perform( ) : void`

`setDescription( ) : void`

`setIf( \c $c ) : void`

Only fail if a property of the given name exists in the current project.

Parameters

Name | Type | Description
--- | --- | ---
$c | \c | property name

`setLocation( ) : void`

`setMessage( \value $value ) : void`

A message giving further information on why the build exited.

Parameters

Name | Type | Description
--- | --- | ---
$value | \value | message to output

`setMsg( string $value ) : void`

A message giving further information on why the build exited.

Parameters

Name | Type | Description
--- | --- | ---
$value | string | message to output

`setOwningTarget( ) : void`

`setProject( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

`setUnless( \c $c ) : void`

Only fail if a property of the given name does not exist in the current project.

Parameters

Name | Type | Description
--- | --- | ---
$c | \c | property name

`testIfCondition( ) : boolean`

Returns

Type | Description
--- | ---
boolean |

`testUnlessCondition( ) : boolean`

Returns

Type | Description
--- | ---
boolean |

Documentation was generated by DocBlox 0.17.1.