public final class JavadocExecutor extends Object
| Constructor and Description |
|---|
JavadocExecutor() |
JavadocExecutor(String executable)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(String arg)
Add an javadoc argument
|
void |
addArgumentPair(String argKey,
String argValue)
Add a javadoc argument pair
|
void |
execute(File dir)
Execute from the
workingDir |
String |
toString() |
public JavadocExecutor()
public JavadocExecutor(String executable)
executable - the executablelog - the mojo loggerpublic void addArgumentPair(String argKey, String argValue)
argKey - the keyargValue - the valuepublic void addArgument(String arg)
arg - the argumentpublic void execute(File dir) throws JavadocExecutionException, IOException
workingDirworkingDir - the directory to execute the javadoc command fromJavadocExecutionException - if an exception occurs during the execution of javadoc or if that execution
doesn't exit with 0IOExceptionCopyright © 2018 SPF4J. All rights reserved.