org.codehaus.gmaven.runtime.util
Class ClassSource

java.lang.Object
  extended by org.codehaus.gmaven.runtime.util.ClassSource

public class ClassSource
extends Object

Container which provides defails about a Groovy scripts source.

Version:
$Id: ClassSource.java 12 2009-07-16 09:27:15Z user57 $
Author:
Jason Dillon

Nested Class Summary
static class ClassSource.Body
           
 
Field Summary
 ClassSource.Body body
           
 File file
           
 URL url
           
 
Constructor Summary
ClassSource(ClassSource.Body body)
           
ClassSource(File file)
           
ClassSource(URL url)
           
 
Method Summary
static ClassSource forValue(String source)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

url

public final URL url

file

public final File file

body

public final ClassSource.Body body
Constructor Detail

ClassSource

public ClassSource(URL url)

ClassSource

public ClassSource(File file)

ClassSource

public ClassSource(ClassSource.Body body)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

forValue

public static ClassSource forValue(String source)


Copyright © 2006-2012 Codehaus. All Rights Reserved.