Class: FlexPMD::FPMD

Inherits:
Executable::Base show all
Defined in:
lib/flexpmd/pmd.rb

Overview

FlexPMD API

(-s|–sourceDirectory) <sourceDirectory> (-o|–outputDirectory) <outputDirectory>

(-r|–ruleSet) <ruleSet>
(-e|–excludePackage) <excludePackage>

Instance Method Summary collapse

Methods inherited from Executable::Base

#system_execute

Instance Method Details

#executableObject

The default executable target.



38
# File 'lib/flexpmd/pmd.rb', line 38

set :executable, :flexpmd

#source_directoryObject

The source path to run flexpmd against.



15
# File 'lib/flexpmd/pmd.rb', line 15

add_param :source_directory, Path, { :required => true, :shell_name => '-s', :default => 'src' }