hudson.plugins.violations.types.codenarc
Class CodenarcDescriptor

java.lang.Object
  extended by hudson.plugins.violations.TypeDescriptor
      extended by hudson.plugins.violations.types.codenarc.CodenarcDescriptor

public final class CodenarcDescriptor
extends TypeDescriptor

The descriptor class for Codenarc violations type.

Author:
Robin Bramley

Field Summary
static CodenarcDescriptor DESCRIPTOR
          The descriptor for the codenarc violations type.
 
Fields inherited from class hudson.plugins.violations.TypeDescriptor
TYPES
 
Method Summary
 AbstractTypeParser createParser()
          Create a parser for the codenarc type.
 java.util.List<java.lang.String> getMavenTargets()
          Get a list of target xml files to look for for this particular type.
 
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 CodenarcDescriptor DESCRIPTOR
The descriptor for the codenarc violations type.

Method Detail

createParser

public AbstractTypeParser createParser()
Create a parser for the codenarc type.

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

getMavenTargets

public java.util.List<java.lang.String> getMavenTargets()
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 target directory.


Copyright © 2004-2012. All Rights Reserved.