org.sonar.plugins.core.sensors
Class ProjectLinksSensor

java.lang.Object
  extended by org.sonar.plugins.core.sensors.ProjectLinksSensor
All Implemented Interfaces:
CheckProject, Sensor, BatchComponent, BatchExtension, Extension

public class ProjectLinksSensor
extends Object
implements Sensor


Field Summary
static String KEY_CONTINUOUS_INTEGRATION
           
static String KEY_HOME
           
static String KEY_ISSUE_TRACKER
           
static String KEY_SCM
           
static String KEY_SCM_DEVELOPER_CONNECTION
           
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
ProjectLinksSensor(org.apache.maven.project.MavenProject pom)
           
 
Method Summary
 void analyse(Project project, SensorContext context)
          The method that is going to be run when the sensor is called
 boolean shouldExecuteOnProject(Project project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_HOME

public static final String KEY_HOME
See Also:
Constant Field Values

KEY_CONTINUOUS_INTEGRATION

public static final String KEY_CONTINUOUS_INTEGRATION
See Also:
Constant Field Values

KEY_ISSUE_TRACKER

public static final String KEY_ISSUE_TRACKER
See Also:
Constant Field Values

KEY_SCM

public static final String KEY_SCM
See Also:
Constant Field Values

KEY_SCM_DEVELOPER_CONNECTION

public static final String KEY_SCM_DEVELOPER_CONNECTION
See Also:
Constant Field Values
Constructor Detail

ProjectLinksSensor

public ProjectLinksSensor(org.apache.maven.project.MavenProject pom)
Method Detail

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

analyse

public void analyse(Project project,
                    SensorContext context)
Description copied from interface: Sensor
The method that is going to be run when the sensor is called

Specified by:
analyse in interface Sensor
Parameters:
project - the project the sensor runs on
context - the context

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.