org.sonar.plugins.core.complexity
Class SumComplexityCountDistributionJob

java.lang.Object
  extended by org.sonar.plugins.core.complexity.SumComplexityCountDistributionJob
All Implemented Interfaces:
Extension, Job

public class SumComplexityCountDistributionJob
extends java.lang.Object
implements Job


Constructor Summary
SumComplexityCountDistributionJob()
           
 
Method Summary
 java.util.List<java.lang.Class<? extends Job>> dependsOnJobs()
          Dependent jobs for the same scope
 java.util.List<Metric> dependsOnMetrics()
          Depends of another measures on the same scope.
 void execute(Resource node)
           
 java.util.List<Metric> generatesMetrics()
           
 boolean shouldExecuteOnProject(Resource project)
           
 boolean shouldExecuteOnResource(Resource node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SumComplexityCountDistributionJob

public SumComplexityCountDistributionJob()
Method Detail

dependsOnMetrics

public java.util.List<Metric> dependsOnMetrics()
Description copied from interface: Job
Depends of another measures on the same scope.

Specified by:
dependsOnMetrics in interface Job
Returns:
empty list if no dependencies

dependsOnJobs

public java.util.List<java.lang.Class<? extends Job>> dependsOnJobs()
Description copied from interface: Job
Dependent jobs for the same scope

Specified by:
dependsOnJobs in interface Job
Returns:
empty list if no dependencies

generatesMetrics

public java.util.List<Metric> generatesMetrics()
Specified by:
generatesMetrics in interface Job
Returns:
empty list if the job does not calculate measures

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Resource project)
Specified by:
shouldExecuteOnProject in interface Job

shouldExecuteOnResource

public boolean shouldExecuteOnResource(Resource node)
Specified by:
shouldExecuteOnResource in interface Job

execute

public void execute(Resource node)
Specified by:
execute in interface Job


Copyright © 2008 SonarSource SA. All Rights Reserved.