org.sonar.maven
Class BatchMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.sonar.maven.CoreMojo
          extended by org.sonar.maven.BatchMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class BatchMojo
extends CoreMojo

Creates the snapshots hierarchy and launch the batch on the sonar server side


Field Summary
 
Fields inherited from class org.sonar.maven.CoreMojo
mavenProject
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BatchMojo()
           
 
Method Summary
 void doExecute()
           
 void setServerApi(ServerHttpClient serverHttpClient)
           
 
Methods inherited from class org.sonar.maven.CoreMojo
execute, getBranch, getContainer, getDatabaseConnector, getMavenPom, getReactorProjects, getSnapshotId, setBranch, setDatabaseConnector, setJdbcDriverClassName, setJdbcPassword, setJdbcURL, setJdbcUserName, setProject, setReactorProjects, setSnapshotId
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchMojo

public BatchMojo()
Method Detail

setServerApi

public void setServerApi(ServerHttpClient serverHttpClient)

doExecute

public void doExecute()
               throws org.apache.maven.plugin.MojoExecutionException
Specified by:
doExecute in class CoreMojo
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2009 SonarSource SA. All Rights Reserved.