org.codehaus.groovy.maven.runtime.util
Interface Compiler

All Known Subinterfaces:
ClassCompiler, StubCompiler
All Known Implementing Classes:
CompilerSupport

public interface Compiler

A common interface for compiler components.

Version:
$Id: Compiler.java 11355 2008-03-31 16:53:52Z user57 $
Author:
Jason Dillon

Method Summary
 void add(java.io.File source)
           
 void add(java.net.URL source)
           
 int compile()
           
 java.io.File getTargetDirectory()
           
 void setTargetDirectory(java.io.File dir)
           
 java.util.Collection sources()
           
 

Method Detail

setTargetDirectory

void setTargetDirectory(java.io.File dir)

getTargetDirectory

java.io.File getTargetDirectory()

add

void add(java.net.URL source)

add

void add(java.io.File source)

sources

java.util.Collection sources()

compile

int compile()
            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006-2011 Codehaus. All Rights Reserved.