hudson.plugins.violations.types.jslint
Class JsLintDescriptor

java.lang.Object
  extended by hudson.plugins.violations.TypeDescriptor
      extended by hudson.plugins.violations.types.jslint.JsLintDescriptor

public class JsLintDescriptor
extends TypeDescriptor

The descriptor class for JSLint (checkstyle for JavaScript) violations type.

Author:
cliffano

Field Summary
static JsLintDescriptor DESCRIPTOR
          The descriptor for the JSLint violations type.
 
Fields inherited from class hudson.plugins.violations.TypeDescriptor
TYPES
 
Method Summary
 ViolationsParser createParser()
          Create a parser for the JSLint type.
 java.util.List<java.lang.String> getMavenTargets()
          TODO: check w/ jslint4java, what's the default output file name for Maven build.
 
Methods inherited from class hudson.plugins.violations.TypeDescriptor
addDescriptor, getDetailForSource, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

public static final JsLintDescriptor DESCRIPTOR
The descriptor for the JSLint violations type.

Method Detail

createParser

public ViolationsParser createParser()
Create a parser for the JSLint type.

Specified by:
createParser in class TypeDescriptor
Returns:
a new JSLint parser.

getMavenTargets

public java.util.List<java.lang.String> getMavenTargets()
TODO: check w/ jslint4java, what's the default output file name for Maven build. Get a list of target xml files to look for for this particular type.

Overrides:
getMavenTargets in class TypeDescriptor
Returns:
a list filenames to look for in the target directory.


Copyright © 2004-2012. All Rights Reserved.