org.apache.maven.plugin.stubs
Class CompilerStub

java.lang.Object
  extended by org.apache.maven.plugin.stubs.CompilerStub
All Implemented Interfaces:
org.codehaus.plexus.compiler.Compiler

public class CompilerStub
extends Object
implements org.codehaus.plexus.compiler.Compiler

Author:
Edwin Punzalan

Field Summary
 
Fields inherited from interface org.codehaus.plexus.compiler.Compiler
ROLE
 
Constructor Summary
CompilerStub()
           
CompilerStub(boolean shouldFail)
           
 
Method Summary
 boolean canUpdateTarget(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
           
 List compile(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
           
 String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
           
 org.codehaus.plexus.compiler.CompilerOutputStyle getCompilerOutputStyle()
           
 String getInputFileEnding(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
           
 String getOutputFile(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
           
 String getOutputFileEnding(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerStub

public CompilerStub()

CompilerStub

public CompilerStub(boolean shouldFail)
Method Detail

getCompilerOutputStyle

public org.codehaus.plexus.compiler.CompilerOutputStyle getCompilerOutputStyle()
Specified by:
getCompilerOutputStyle in interface org.codehaus.plexus.compiler.Compiler

getInputFileEnding

public String getInputFileEnding(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
                          throws org.codehaus.plexus.compiler.CompilerException
Specified by:
getInputFileEnding in interface org.codehaus.plexus.compiler.Compiler
Throws:
org.codehaus.plexus.compiler.CompilerException

getOutputFileEnding

public String getOutputFileEnding(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
                           throws org.codehaus.plexus.compiler.CompilerException
Specified by:
getOutputFileEnding in interface org.codehaus.plexus.compiler.Compiler
Throws:
org.codehaus.plexus.compiler.CompilerException

getOutputFile

public String getOutputFile(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
                     throws org.codehaus.plexus.compiler.CompilerException
Specified by:
getOutputFile in interface org.codehaus.plexus.compiler.Compiler
Throws:
org.codehaus.plexus.compiler.CompilerException

canUpdateTarget

public boolean canUpdateTarget(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
                        throws org.codehaus.plexus.compiler.CompilerException
Specified by:
canUpdateTarget in interface org.codehaus.plexus.compiler.Compiler
Throws:
org.codehaus.plexus.compiler.CompilerException

compile

public List compile(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
             throws org.codehaus.plexus.compiler.CompilerException
Specified by:
compile in interface org.codehaus.plexus.compiler.Compiler
Throws:
org.codehaus.plexus.compiler.CompilerException

createCommandLine

public String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
                           throws org.codehaus.plexus.compiler.CompilerException
Specified by:
createCommandLine in interface org.codehaus.plexus.compiler.Compiler
Throws:
org.codehaus.plexus.compiler.CompilerException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.