org.codehaus.mojo.solaris
Class GeneratePrototypeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.solaris.AbstractSolarisMojo
          extended by org.codehaus.mojo.solaris.GeneratePrototypeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GeneratePrototypeMojo
extends AbstractSolarisMojo

Generates a System V package prototype file.

Version:
$Id: GeneratePrototypeMojo.java 6829 2008-04-23 18:09:08Z trygvis $
Author:
Trygve Laugstøl

Field Summary
static PrototypeEntryCollection DEFAULT_DIRECTORY_ENTRY
           
static java.lang.String[] DEFAULT_EXCLUDES
           
static PrototypeEntryCollection DEFAULT_FILE_ENTRY
           
static java.lang.String[] DEFAULT_INCLUDES
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GeneratePrototypeMojo()
           
 
Method Summary
 void execute()
           
static void writePrototype(java.io.File generatedPrototype, java.util.Iterator prototypeFile)
           
 
Methods inherited from class org.codehaus.mojo.solaris.AbstractSolarisMojo
mkdirs, mkParentDirs
 
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
 

Field Detail

DEFAULT_INCLUDES

public static final java.lang.String[] DEFAULT_INCLUDES

DEFAULT_EXCLUDES

public static final java.lang.String[] DEFAULT_EXCLUDES

DEFAULT_DIRECTORY_ENTRY

public static final PrototypeEntryCollection DEFAULT_DIRECTORY_ENTRY

DEFAULT_FILE_ENTRY

public static final PrototypeEntryCollection DEFAULT_FILE_ENTRY
Constructor Detail

GeneratePrototypeMojo

public GeneratePrototypeMojo()
Method Detail

execute

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

writePrototype

public static void writePrototype(java.io.File generatedPrototype,
                                  java.util.Iterator prototypeFile)
                           throws org.apache.maven.plugin.MojoFailureException,
                                  org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException


Copyright © 2007-2010. All Rights Reserved.