Package task for {@link http://www.php.net/manual/en/book.phar.php Phar technology}.
This is very closely based on the ANT class of the same name.
package |
phing.tasks.ext |
---|---|
author |
Alexey Shockov alexey@shockov.com |
since | 2.4.0 |
__construct()
appendSelector(\FileSelector $selector) : void
buildPhar() : \Phar
\Phar
checkPreconditions()
throws | |
---|---|
createAnd() : \AndSelector
createContains() : \ContainsSelector
createCustom() : \ExtendSelector
createDate() : \DateSelector
createDepend() : \DependSelector
createDepth() : \DepthSelector
createExclude() : \PatternSetNameEntry
createExcludesFile() : \PatternSetNameEntry
createFilename() : \FilenameSelector
createInclude() : \PatternSetNameEntry
createIncludesFile() : \PatternSetNameEntry
createMajority() : \MajoritySelector
createNone() : \NoneSelector
createNot() : \NotSelector
createOr() : void
createPresent() : \PresentSelector
createSelector() : \SelectSelector
createSize() : \SizeSelector
getDescription() : string
string
The text description of the task
getDirectoryScanner(\PhingFile $baseDir) : \DirectoryScanner
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getRegisterSlot(string $slotName)
string
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getSelectors(\Project $p) : array
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
hasSelectors() : boolean
boolean
Whether any selectors are in this container
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
log(string $msg, integer $level = \Project::MSG_INFO)
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()
selectorCount() : integer
integer
The number of selectors in this container
selectorElements() : \an
\an
enumerator that goes through each of the selectors
setAlias(string $alias)
string
setBaseDir(\PhingFile $baseDirectory)
setCaseSensitive(boolean $isCaseSensitive) : void
boolean
"true"|"on"|"yes" if file system is case
sensitive, "false"|"off"|"no" when not.
setCliStub(\PhingFile $stubFile)
setCompression(string $compression)
string
setDefaultexcludes(boolean $useDefaultExcludes)
boolean
"true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used.
setDescription(string $desc)
string
The text describing the task
setDestFile(\PhingFile $destinationFile)
setExcludes(string $excludes)
string
the string containing the exclude patterns
setExcludesfile(\PhingFile $excludesfile) : void
setFollowSymlinks(boolean $followSymlinks) : void
boolean
whether or not symbolic links should be followed
setIncludes(string $includes) : void
string
the string containing the include patterns
setIncludesfile(\PhingFile $includesfile) : void
setKey(\PhingFile $key)
setKeyPassword(string $keyPassword)
string
setLocation(\Location $location)
setOwningTarget(\Target $target)
setProject(\Project $project)
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setSignature(string $algorithm)
string
setStub(string $stubPath)
string
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
setWebStub(\PhingFile $stubFile)
compression : integer
var |
---|
integer
baseDirectory : \PhingFile
stubPath : string
var |
---|
string
keyPassword : string
var |
---|
string
signatureAlgorithm : integer
var |
---|
integer
filesets : array
var |
---|
array
alias : string
var |
---|
string
useDefaultExcludes : boolean
var |
---|
boolean
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project