|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.config.Starter
public class Starter
The Starter executes configuration files.
| Constructor Summary | |
|---|---|
Starter()
|
|
| Method Summary | |
|---|---|
java.util.Collection<java.io.File> |
addPlugins()
Adds jar files to the classpath. |
void |
execute(java.lang.Class<? extends Task> taskClass,
java.lang.String[] filenames)
Executor method. |
void |
execute(java.lang.String[] args)
Executor method. |
static void |
main(java.lang.String[] args)
Start configuration files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Starter()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
Tasks successively.
args - the configuration files
java.lang.Exception
public void execute(java.lang.String[] args)
throws java.lang.Exception
args - the configuration files
java.lang.Exception
public void execute(java.lang.Class<? extends Task> taskClass,
java.lang.String[] filenames)
throws java.lang.Exception
taskClass - the class of the task to usefilenames - the configuration files
java.lang.Exceptionpublic java.util.Collection<java.io.File> addPlugins()
jar files to the classpath. Searches in folder
plugins.
jar files
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||