Class JavaTool
java.lang.Object
org.jdrupes.builder.core.AbstractProvider
org.jdrupes.builder.core.AbstractGenerator
org.jdrupes.builder.java.JavaTool
- All Implemented Interfaces:
Generator, ResourceProvider
- Direct Known Subclasses:
JavaCompiler, Javadoc
A base class for generators that invoke java tools.
-
Field Summary
Fields inherited from class AbstractProvider
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlogDiagnostic(Diagnostic<? extends JavaFileObject> diagnostic) Log diagnostic.protected voidlogDiagnostics(DiagnosticCollector<JavaFileObject> diagnostics) Log diagnostics.optionArgument(String... names) Find the argument for the given option.options()Return the options.Adds the given options.Adds the given options.Methods inherited from class AbstractGenerator
cleanup, name, name, newResource, project, toStringMethods inherited from class AbstractProvider
doProvide, provideMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ResourceProvider
provide
-
Constructor Details
-
JavaTool
-
-
Method Details
-
options
-
options
-
options
-
optionArgument
Find the argument for the given option. As some options are allows in different styles, several names can be specified.- Parameters:
names- the names- Returns:
- the optional
-
logDiagnostic
Log diagnostic.- Parameters:
diagnostic- the diagnostic
-
logDiagnostics
Log diagnostics.- Parameters:
diagnostics- the diagnostics
-