public interface Sources
Source
that can change with time.
A typical example is a directory that contains Groovy scripts
which can be modified, deleted and created. (This use case
is implemented by DirBasedSources
.)
Modifier and Type | Method and Description |
---|---|
CompilerFactory |
getCompilerFactory()
gets the compiler factory that should be used to compile the sources.
|
long |
getLastModified()
updates the source set, if necessary, and returns the last modified
of when last found changed.
|
String |
getName()
gets the name of the sources.
|
Set<Source> |
getSourceSet()
updates the source set, if necessary, and returns it.
|
String |
toString()
returns a string suitable for logging.
|
Set<Source> getSourceSet()
long getLastModified()
You should not rely on this number to increase monotonically or even to represent an actual date and time, but instead consider the sources changed each time this method returns a different value.
String getName()
CompilerFactory getCompilerFactory()