org.apache.directory.daemon.installers
Class MojoCommand

java.lang.Object
  extended byorg.apache.directory.daemon.installers.MojoCommand
Direct Known Subclasses:
CreateImageCommand, InnoInstallerCommand, IzPackInstallerCommand, RpmInstallerCommand

public abstract class MojoCommand
extends java.lang.Object

A Mojo command pattern interface.

Version:
$Rev: 434414 $
Author:
Apache Directory Project

Field Summary
protected  java.util.Map dependencyMap
           
protected  org.apache.maven.plugin.logging.Log log
           
protected  ServiceInstallersMojo mymojo
           
 
Constructor Summary
MojoCommand(ServiceInstallersMojo mymojo)
           
 
Method Summary
abstract  void execute()
           
abstract  java.util.Properties getFilterProperties()
           
 void processPackagedFiles(Target target, PackagedFile[] packagedFiles)
           
 void reportProcessing(PackagedFile packagedFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dependencyMap

protected final java.util.Map dependencyMap

log

protected final org.apache.maven.plugin.logging.Log log

mymojo

protected final ServiceInstallersMojo mymojo
Constructor Detail

MojoCommand

public MojoCommand(ServiceInstallersMojo mymojo)
Method Detail

execute

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

getFilterProperties

public abstract java.util.Properties getFilterProperties()

reportProcessing

public void reportProcessing(PackagedFile packagedFile)

processPackagedFiles

public void processPackagedFiles(Target target,
                                 PackagedFile[] packagedFiles)
                          throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException


Copyright © 2004-2007 null. All Rights Reserved.