|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.schmant.support.AbstractArgumentChecker org.schmant.task.template.jdk.java.AbstractExtJavaTaskDecorator<T>
public abstract class AbstractExtJavaTaskDecorator<T extends AbstractExtJavaTaskDecorator<T>>
This is an abstract implementation of ExtJavaTaskDecorator
that can
be used as a starting point for a custom implementation.
All methods in this class return null
.
Constructor Summary | |
---|---|
AbstractExtJavaTaskDecorator()
|
Method Summary | |
---|---|
List<? extends EntityView> |
getClasspathEntries()
Get a list of file-backed classpath entries. |
File |
getJavaExecutable()
Return the path to an executable (external program) that the decorator wants, or null if the decorator doesn't care. |
Collection<String> |
getJvmOptions()
Return a collection of JVM options that the decorator wants to set. |
Collection<String> |
getProgramArguments()
Return a collection of program arguments that the decorator wants to set. |
Methods inherited from class org.schmant.support.AbstractArgumentChecker |
---|
check, check, check, check |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.schmant.task.ValidatingDecorator |
---|
validate |
Constructor Detail |
---|
public AbstractExtJavaTaskDecorator()
Method Detail |
---|
public File getJavaExecutable()
ExtJavaTaskDecorator
null
if the decorator doesn't care. This can be used if
the decorator wants to run another program than java
, or if it
wants a specific Java version.
getJavaExecutable
in interface ExtJavaTaskDecorator<T extends AbstractExtJavaTaskDecorator<T>>
null
.public Collection<String> getJvmOptions()
ExtJavaTaskDecorator
getJvmOptions
in interface ExtJavaTaskDecorator<T extends AbstractExtJavaTaskDecorator<T>>
null
.public List<? extends EntityView> getClasspathEntries()
getClasspathEntries
in interface ExtJavaTaskDecorator<T extends AbstractExtJavaTaskDecorator<T>>
null
.public Collection<String> getProgramArguments()
ExtJavaTaskDecorator
If a decorator adds program arguments, the launched class must know how to handle them.
getProgramArguments
in interface ExtJavaTaskDecorator<T extends AbstractExtJavaTaskDecorator<T>>
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |