A Javascript lint task. Checks syntax of Javascript files.
Javascript lint (http://www.javascriptlint.com) must be in the system path. This class is based on Knut Urdalen's PhpLintTask.
| author |
Stefan Priebsch stefan.priebsch@e-novative.de |
|---|---|
| version |
$Id: b448058c7244156ae7eb314c64618de82ff831cc $ |
| package |
phing.tasks.ext |
setShowWarnings(boolean $show)
boolean
setHaltOnFailure(boolean $aValue)
boolean
setHaltOnWarning(boolean $aValue)
boolean
setCacheFile(\PhingFile $file)
setExecutable($path)
getExecutable()
createFileSet() : \FileSet
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
lint(string $file) : void
string
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
stringName of this task
setTaskName(string $name) : string
string
stringA string representing the name of this task for log
getTaskType() : string
stringThe type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
stringThe message to be logged.
integerThe message's priority at this message should have
setDescription(string $desc)
stringThe text describing the task
getDescription() : string
stringThe text description of the task
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
| throws |
|---|
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
file :
filesets :
showWarnings :
haltOnFailure :
haltOnWarning :
hasErrors :
hasWarnings :
badFiles :
cache :
conf :
executable :
description : string
| var |
|---|
string
taskType : string
| var |
|---|
string
taskName : string
| var |
|---|
string
project : \Project