org.codehaus.groovy.maven.runtime.support
Class CompilerSupport

java.lang.Object
  extended by org.codehaus.groovy.maven.feature.support.ComponentSupport
      extended by org.codehaus.groovy.maven.runtime.support.CompilerSupport
All Implemented Interfaces:
Component, Compiler

public abstract class CompilerSupport
extends ComponentSupport
implements Compiler

Support for Compiler component implementations.

Version:
$Id: CompilerSupport.java 11689 2008-04-17 07:19:46Z user57 $
Author:
Jason Dillon

Field Summary
protected  java.util.Set sources
           
protected  java.io.File targetDir
           
 
Fields inherited from class org.codehaus.groovy.maven.feature.support.ComponentSupport
config, feature, log
 
Constructor Summary
protected CompilerSupport(Feature feature)
           
protected CompilerSupport(Feature feature, Configuration config)
           
 
Method Summary
 void add(java.io.File source)
           
 void add(java.net.URL source)
           
 java.io.File getTargetDirectory()
           
 void setTargetDirectory(java.io.File dir)
           
 java.util.Collection sources()
           
 
Methods inherited from class org.codehaus.groovy.maven.feature.support.ComponentSupport
config, feature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.groovy.maven.runtime.util.Compiler
compile
 

Field Detail

sources

protected final java.util.Set sources

targetDir

protected java.io.File targetDir
Constructor Detail

CompilerSupport

protected CompilerSupport(Feature feature,
                          Configuration config)

CompilerSupport

protected CompilerSupport(Feature feature)
Method Detail

setTargetDirectory

public void setTargetDirectory(java.io.File dir)
Specified by:
setTargetDirectory in interface Compiler

getTargetDirectory

public java.io.File getTargetDirectory()
Specified by:
getTargetDirectory in interface Compiler

add

public void add(java.net.URL source)
Specified by:
add in interface Compiler

add

public void add(java.io.File source)
Specified by:
add in interface Compiler

sources

public java.util.Collection sources()
Specified by:
sources in interface Compiler


Copyright © 2006-2010 Codehaus. All Rights Reserved.