|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.schmant.support.AbstractArgumentChecker
org.schmant.task.stub.AbstractTask<T>
org.schmant.task.stub.AbstractActionTask<T>
org.schmant.task.template.jdk.javadoc.AbstractJavadocTask<ExtJavadocTask>
org.schmant.task.jdk.javadoc.ext.ExtJavadocTask
public final class ExtJavadocTask
See ExtJavadocTF
Method Summary | |
---|---|
void |
copyProperties(ExtJavadocTask spec)
Override the implementation from AbstractTask to copy the
source properties. |
protected String |
getDefaultLogHeader()
Get the default log header to log (to level INFO) before the task is run if the task user has not set a custom header. |
List<String> |
getEnvironmentVariables()
|
ProcessResult |
getProcessResult()
Get the result from the external program. |
ProcessOutputStrategy |
getStderrStrategy()
|
ProcessOutputStrategy |
getStdoutStrategy()
|
File |
getWorkingDirectory()
|
boolean |
isFailOnErrors()
|
boolean |
isInheritEnvironmentVariables()
|
protected void |
runInternal(Report r)
Subclasses implement this. |
String |
toString()
Default implementation for tasks. |
Methods inherited from class org.schmant.task.template.jdk.javadoc.AbstractJavadocTask |
---|
getClasspathDecorators, getClasspathEntries, getClasspathFromDecorators, getDecorators, getEncoding, getExcludePackages, getExtDirectories, getLocale, getOverview, getPackageNames, getSourceCodeVersion, getSourceFileNames, getVisibilityLevel, isBreakIterator, isMoreThanOneSourceAllowed, isSubPackages, validate |
Methods inherited from class org.schmant.task.stub.AbstractActionTask |
---|
addSource, addSources, clearSources, getRelativeToBase, getSource, getSources, isSourcesMandatory, setRelativeToBase, setSource, setSources |
Methods inherited from class org.schmant.task.stub.AbstractTask |
---|
cancel, createTask, getDefaultLogFooter, getDependencyForTasksScheduledByThisTask, getDependencyObservable, getFailureCause, getLogFooter, getLogHeader, getSatisfiedStateLock, getThis, isCancelled, isDone, isInterrupted, isRunning, isSatisfied, isSuccessful, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging |
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, wait, wait, wait |
Methods inherited from interface org.schmant.task.Task |
---|
cancel, getDependencyForTasksScheduledByThisTask, getFailureCause, isCancelled, isDone, isInterrupted, isRunning, isSuccessful |
Methods inherited from interface org.schmant.run.TaskDependency |
---|
getDependencyObservable, getSatisfiedStateLock, isSatisfied |
Methods inherited from interface org.schmant.task.TaskRunnable |
---|
run |
Methods inherited from interface org.schmant.task.TaskSpecification |
---|
createTask |
Methods inherited from interface org.schmant.task.confable.LoggingConfigurable |
---|
setLogFooter, setLogHeader, setReportLevel, setTraceLogging |
Method Detail |
---|
public List<String> getEnvironmentVariables()
getEnvironmentVariables
in interface ExtProcessConfigured
public boolean isInheritEnvironmentVariables()
isInheritEnvironmentVariables
in interface ExtProcessConfigured
public boolean isFailOnErrors()
isFailOnErrors
in interface ExtProcessConfigured
public File getWorkingDirectory()
getWorkingDirectory
in interface ExtProcessConfigured
public ProcessOutputStrategy getStdoutStrategy()
getStdoutStrategy
in interface ExtProcessConfigured
public ProcessOutputStrategy getStderrStrategy()
getStderrStrategy
in interface ExtProcessConfigured
public ProcessResult getProcessResult()
ExtProcessTask
getProcessResult
in interface ExtProcessTask<ExtJavadocTask>
protected String getDefaultLogHeader()
AbstractTask
This is called after validating the task.
Return null
to disable logging.
getDefaultLogHeader
in class AbstractTask<ExtJavadocTask>
protected void runInternal(Report r) throws InterruptedException
AbstractTask
AbstractTask.validate(Report)
:d before
this method is called, see AbstractTask.run()
.
runInternal
in class AbstractTask<ExtJavadocTask>
r
- The current thread's Report
.
InterruptedException
public void copyProperties(ExtJavadocTask spec)
AbstractActionTask
AbstractTask
to copy the
source properties. Subclasses must override this to copy their own
properties.
copyProperties
in interface TaskSpecification<ExtJavadocTask>
copyProperties
in class AbstractJavadocTask<ExtJavadocTask>
spec
- The specification to copy properties to.public String toString()
AbstractTask
This implementation just returns the class name.
toString
in class AbstractActionTask<ExtJavadocTask>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |