tasks/ext/ExtractBaseTask.php

Show: inherited
Table of Contents

Base class for extracting tasks such as Unzip and Untar.

Author
Joakim Bodin  
Package
phing.tasks.ext  
Since
2.2.0  
Version
$Id: ExtractBaseTask.php 1397 2011-12-27 14:33:17Z mrook $  

\ExtractBaseTask

Package: phing\tasks\ext

Base class for extracting tasks such as Unzip and Untar.

Parent(s)
\MatchingTask < \Task < \ProjectComponent
Children
\UnzipTask
\UntarTask
Author
Joakim Bodin  
Since
2.2.0  
Version
$Id: ExtractBaseTask.php 1397 2011-12-27 14:33:17Z mrook $  

Properties

Propertyprotected\PhingFile  $file= ''

Details
Type
\PhingFile
Propertyprotected  $filesets= 'array()'
Default valuearray()Details
Type
n/a
Propertyprotectedboolean  $forceExtract= 'false'

Set to true to always extract (and possibly overwrite) all files from the archive

Default valuefalseDetails
Type
boolean
Propertyprotected  $removepath= ''
Details
Type
n/a
Propertyprotected\PhingFile  $todir= ''

Details
Type
\PhingFile

Methods

methodpublic__construct( ) : void

methodpublicappendSelector( ) : void

methodpubliccreateAnd( ) : void

methodpubliccreateContains( ) : void

methodpubliccreateCustom( ) : void

methodpubliccreateDate( ) : void

methodpubliccreateDepend( ) : void

methodpubliccreateDepth( ) : void

methodpubliccreateExclude( ) : void

methodpubliccreateExcludesFile( ) : void

methodpubliccreateFileSet( ) : \FileSet

Add a new fileset.

Returns
Type Description
\FileSet
methodpubliccreateFilename( ) : void

methodpubliccreateInclude( ) : void

methodpubliccreateIncludesFile( ) : void

methodpubliccreateMajority( ) : void

methodpubliccreateNone( ) : void

methodpubliccreateNot( ) : void

methodpubliccreateOr( ) : void

methodpubliccreatePatternSet( ) : void

methodpubliccreatePresent( ) : void

methodpubliccreateSelector( ) : void

methodpubliccreateSize( ) : void

methodprotectedextractArchive(  $compressedArchiveFile ) : void
abstract

Parameters
Name Type Description
$compressedArchiveFile
methodpublicgetDescription( ) : void

methodprotectedgetDirectoryScanner( ) : void

methodprotectedgetImplicitFileSet( ) : void
final

methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetSelectors( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublichasSelectors( ) : void

methodpublicinit( ) : void

methodprotectedisDestinationUpToDate(  $compressedArchiveFile ) : boolean

Parameters
Name Type Description
$compressedArchiveFile
Returns
Type Description
boolean
methodprotectedlistArchiveContent(  $compressedArchiveFile ) : void
abstract

Parameters
Name Type Description
$compressedArchiveFile
methodpubliclog( ) : void

methodpublicmain( ) : void

do the work

Throws
Exception Description
\BuildException
methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicselectorCount( ) : void

methodpublicselectorElements( ) : void

methodpublicsetCaseSensitive( ) : void

methodpublicsetDefaultexcludes( ) : void

methodpublicsetDescription( ) : void

methodpublicsetExcludes( ) : void

methodpublicsetExcludesfile( ) : void

methodpublicsetFile( \PhingFile $file ) : void

Set the name of the zip file to extract.

Parameters
Name Type Description
$file \PhingFile

zip file to extract

methodpublicsetFollowSymlinks( ) : void

methodpublicsetForceExtract( boolean $forceExtract ) : void

Sets the forceExtract attribute

Parameters
Name Type Description
$forceExtract boolean
methodpublicsetIncludes( ) : void

methodpublicsetIncludesfile( ) : void

methodpublicsetLocation( ) : void

methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetRemovePath(  $removepath ) : void

Parameters
Name Type Description
$removepath
methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

methodpublicsetToDir(  $todir ) : void

This is the base directory to look in for things to zip.

Parameters
Name Type Description
$todir
methodprotectedvalidateAttributes( ) : void

Validates attributes coming in from XML

Throws
Exception Description
\BuildException
Details
Access
private  
Documentation was generated by DocBlox 0.17.1.