org.jvnet.hudson.maven.plugins.hudson
Class AbstractActionPerJobMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jvnet.hudson.maven.plugins.hudson.AbstractHudsonMojo
          extended by org.jvnet.hudson.maven.plugins.hudson.AbstractActionPerJobMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, AbstractHudsonMojo.JobClosure
Direct Known Subclasses:
AddTwitterMojo

public abstract class AbstractActionPerJobMojo
extends AbstractHudsonMojo
implements AbstractHudsonMojo.JobClosure

Abstract base class for mojos that need to do something for all jobs or just one job.

Author:
edelsonj

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvnet.hudson.maven.plugins.hudson.AbstractHudsonMojo
AbstractHudsonMojo.JobClosure, AbstractHudsonMojo.PluginType
 
Field Summary
 
Fields inherited from class org.jvnet.hudson.maven.plugins.hudson.AbstractHudsonMojo
httpClient, hudsonURL, project, settings
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractActionPerJobMojo()
           
 
Method Summary
 void execute()
          Execute the mojo.
 
Methods inherited from class org.jvnet.hudson.maven.plugins.hudson.AbstractHudsonMojo
configurePlugin, createHudsonURL, createJobBuildURL, createJobConfigURL, createJobListURL, createOrChange, createOrChange, doPost, doPost, findServer, forEachJob, getDocumentFromHudson, getJobList, loadJobConfig, rebuildJob, saveJobConfig, setupClient
 
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
 
Methods inherited from interface org.jvnet.hudson.maven.plugins.hudson.AbstractHudsonMojo.JobClosure
doWithJob
 

Constructor Detail

AbstractActionPerJobMojo

public AbstractActionPerJobMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Execute the mojo.

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if something goes wrong
See Also:
Mojo.execute()


Copyright © 1981-2010 MTV Networks. All Rights Reserved.