org.codehaus.mojo.wagon
Class AbstractSingleWagonMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.wagon.AbstractWagonMojo
          extended by org.codehaus.mojo.wagon.AbstractSingleWagonMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractWagonListMojo, DownloadSingleMojo, ExistMojo, UploadMojo, UploadSingleMojo

public abstract class AbstractSingleWagonMojo
extends AbstractWagonMojo

Provides base functionality for dealing with I/O using single wagon.


Field Summary
 
Fields inherited from class org.codehaus.mojo.wagon.AbstractWagonMojo
project, settings, skip, wagonManager
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractSingleWagonMojo()
           
 
Method Summary
protected  void disconnectQuietly(org.apache.maven.wagon.Wagon wagon)
           
 void execute()
           
protected abstract  void execute(org.apache.maven.wagon.Wagon wagon)
          Perform the necessary action.
 
Methods inherited from class org.codehaus.mojo.wagon.AbstractWagonMojo
createWagon, getWagonFileSet
 
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

AbstractSingleWagonMojo

public AbstractSingleWagonMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

disconnectQuietly

protected void disconnectQuietly(org.apache.maven.wagon.Wagon wagon)

execute

protected abstract void execute(org.apache.maven.wagon.Wagon wagon)
                         throws org.apache.maven.plugin.MojoExecutionException,
                                org.apache.maven.wagon.WagonException,
                                IOException
Perform the necessary action. To be implemented in the child mojo.

Parameters:
wagon -
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.wagon.WagonException
IOException


Copyright © 2008-2012 The Kuali Foundation. All Rights Reserved.