|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.task.stub.AbstractTaskFactory<T,U>
org.schmant.task.template.process.AbstractExtProcessTaskFactory<T,U>
org.schmant.task.template.jdk.java.AbstractExtJvmTaskFactory<T,U>
public abstract class AbstractExtJvmTaskFactory<T extends AbstractExtJvmTaskFactory<T,U>,U extends AbstractExtJvmTask<U>>
Abstract base class for AbstractExtJvmTask factory implementations.
| Constructor Summary | |
|---|---|
AbstractExtJvmTaskFactory()
|
|
| Method Summary | |
|---|---|
T |
addClasspathDecorator(PathDecorator<?,?> cd)
Add one path decorator. |
T |
addClasspathDecorators(Object o)
Add one or several path decorators. |
T |
addClasspathEntries(Object o)
This method does the same as ClasspathConfigurable.addClasspathEntry(Object). |
T |
addClasspathEntry(Object o)
Add one or several classpath entries to the classpath. |
T |
addJvmOption(String option)
|
T |
addJvmOptions(Object o)
Add one or several JVM options. |
T |
clearClasspathDecorators()
Clear the list of classpath decorators. |
T |
clearClasspathEntries()
Clear the list of classpath entries. |
T |
clearJvmOptions()
|
T |
setJavaExecutable(Object o)
|
T |
setJavaHome(Object o)
|
| Methods inherited from class org.schmant.task.template.process.AbstractExtProcessTaskFactory |
|---|
addArgument, addArguments, addEnvironmentVariable, addEnvironmentVariables, clearArguments, clearEnvironmentVariables, setFailOnErrors, setInheritEnvironmentVariables, setStderrStrategy, setStdoutStrategy, setWorkingDirectory |
| Methods inherited from class org.schmant.task.stub.AbstractTaskFactory |
|---|
copy, create, createSpecification, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.schmant.task.template.process.ExtProcessConfigurable |
|---|
addEnvironmentVariable, addEnvironmentVariables, clearEnvironmentVariables, setFailOnErrors, setInheritEnvironmentVariables, setStderrStrategy, setStdoutStrategy, setWorkingDirectory |
| Methods inherited from interface org.schmant.task.confable.ArgumentsConfigurable |
|---|
addArgument, addArguments, clearArguments |
| Constructor Detail |
|---|
public AbstractExtJvmTaskFactory()
| Method Detail |
|---|
public final T addClasspathEntry(Object o)
ClasspathConfigurable
addClasspathEntry in interface ClasspathConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>o - The entry or entries. If the object is a collection or array,
it is flattened (see
FlatteningList). It is up to the
implementing object to decide how the object or objects should be
interpreted.
thispublic final T addClasspathEntries(Object o)
ClasspathConfigurableClasspathConfigurable.addClasspathEntry(Object).
addClasspathEntries in interface ClasspathConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>o - The entries. See ClasspathConfigurable.addClasspathEntry(Object).
thispublic final T clearClasspathEntries()
ClasspathConfigurable
clearClasspathEntries in interface ClasspathConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>this.public final T addClasspathDecorator(PathDecorator<?,?> cd)
ClasspathConfigurable
addClasspathDecorator in interface ClasspathConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>thispublic final T addClasspathDecorators(Object o)
ClasspathConfigurable
addClasspathDecorators in interface ClasspathConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>o - One or an array or collection of classpath decorators
(PathDecorator objects).
thispublic final T clearClasspathDecorators()
ClasspathConfigurable
clearClasspathDecorators in interface ClasspathConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>thispublic final T addJvmOption(String option)
addJvmOption in interface JvmOptionsConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>public final T addJvmOptions(Object o)
JvmOptionsConfigurable
addJvmOptions in interface JvmOptionsConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>o - One string or an array or collection of strings. Each string is
an JVM option.public final T clearJvmOptions()
clearJvmOptions in interface JvmOptionsConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>
public final T setJavaExecutable(Object o)
throws FileNotFoundException
setJavaExecutable in interface ExtJvmConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>FileNotFoundException
public final T setJavaHome(Object o)
throws FileNotFoundException
setJavaHome in interface JavaHomeConfigurable<T extends AbstractExtJvmTaskFactory<T,U>>FileNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||