|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.wurbelizer.AbstractWurbler
org.wurbelizer.DefaultWurbler
public class DefaultWurbler
The default implementation of a wurblet container.
Running standalone from the command line.
Because ANT does not provide a foreach "out of the box", the main-method supports
file lists as follows:
java org.wurbelizer.DefaultWurbler --glob="blahdir/.*\.map$"The @ will be replaced by the filename and the wurblet is invoked for each such file. Note that it's not a real globbing, but uses regex. This is not the most generic solution, but it does the job for wurblets like CreateTableSql..... @ ....
| Field Summary |
|---|
| Fields inherited from interface org.wurbelizer.Wurbler |
|---|
FILE_SOURCE_EXTENSION, PROPSPACE_ENV, PROPSPACE_EXTRA, PROPSPACE_WURBLET |
| Constructor Summary | |
|---|---|
DefaultWurbler(String[] args)
Creates an instance of a command line wurbler. |
|
| Method Summary | |
|---|---|
File |
getInfoFile(String name)
Gets an information file. |
int |
getInvocationCount()
Gets the loop count. |
void |
logMessage(String msg)
Log some message. |
static void |
main(String[] args)
Invokes the wurbler from the command line. |
| Methods inherited from class org.wurbelizer.AbstractWurbler |
|---|
getArgs, getPrintStream, getProperties, getProperty, getSource, getWurblet, isFixedArgs, loadWurblet, run, setArgs, setFixedArgs, setPrintStream, setSource, setWurblet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWurbler(String[] args)
throws FileNotFoundException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException,
IOException
args - the command line arguments
FileNotFoundException
ClassNotFoundException
InstantiationException
IllegalAccessException
IOException| Method Detail |
|---|
public int getInvocationCount()
public File getInfoFile(String name)
name - is the filename relative to the infodir.
public void logMessage(String msg)
msg - the messagepublic static void main(String[] args)
args - the command line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||