org.apache.maven.plugin.nar
Class Compiler

java.lang.Object
  extended by org.apache.maven.plugin.nar.Compiler
Direct Known Subclasses:
C, Cpp, Fortran

public abstract class Compiler
extends java.lang.Object

Abstract Compiler class

Author:
Mark Donszelmann

Field Summary
static java.lang.String MAIN
           
static java.lang.String TEST
           
 
Constructor Summary
protected Compiler()
           
 
Method Summary
 void copyIncludeFiles(org.apache.maven.project.MavenProject mavenProject, java.io.File targetDirectory)
           
 net.sf.antcontrib.cpptasks.CompilerDef getCompiler(java.lang.String type, java.lang.String output)
           
protected  java.util.Set getExcludes()
           
protected  java.util.List getIncludePaths(java.lang.String type)
           
 java.util.Set getIncludes()
           
protected  java.util.Set getIncludes(java.lang.String type)
           
protected abstract  java.lang.String getLanguage()
           
 java.lang.String getName()
           
protected  java.lang.String getPrefix()
           
 java.util.List getSourceDirectories()
           
 void setAbstractCompileMojo(AbstractCompileMojo mojo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN

public static final java.lang.String MAIN
See Also:
Constant Field Values

TEST

public static final java.lang.String TEST
See Also:
Constant Field Values
Constructor Detail

Compiler

protected Compiler()
Method Detail

getName

public java.lang.String getName()
                         throws org.apache.maven.plugin.MojoFailureException,
                                org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

setAbstractCompileMojo

public final void setAbstractCompileMojo(AbstractCompileMojo mojo)

getSourceDirectories

public final java.util.List getSourceDirectories()

getIncludePaths

protected final java.util.List getIncludePaths(java.lang.String type)

getIncludes

public final java.util.Set getIncludes()
                                throws org.apache.maven.plugin.MojoFailureException,
                                       org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

getIncludes

protected final java.util.Set getIncludes(java.lang.String type)
                                   throws org.apache.maven.plugin.MojoFailureException,
                                          org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

getExcludes

protected final java.util.Set getExcludes()
                                   throws org.apache.maven.plugin.MojoFailureException,
                                          org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

getPrefix

protected final java.lang.String getPrefix()
                                    throws org.apache.maven.plugin.MojoFailureException,
                                           org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

getCompiler

public final net.sf.antcontrib.cpptasks.CompilerDef getCompiler(java.lang.String type,
                                                                java.lang.String output)
                                                         throws org.apache.maven.plugin.MojoFailureException,
                                                                org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

getLanguage

protected abstract java.lang.String getLanguage()

copyIncludeFiles

public final void copyIncludeFiles(org.apache.maven.project.MavenProject mavenProject,
                                   java.io.File targetDirectory)
                            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.