# CoreJavadocOptions

abstract class CoreJavadocOptions : MinimalJavadocOptions(source)

Provides the core Javadoc Options. That is, provides the options which are not doclet specific.

#### Since

0.7

#### Inheritors

StandardJavadocDocletOptions

## Constructors

CoreJavadocOptions
Link copied to clipboard
constructor()
Creates a new `CoreJavadocOptions`.

## Properties

jFlags
Link copied to clipboard
open var jFlags: List<String>
optionFiles
Link copied to clipboard
open var optionFiles: List<File>

## Functions

addBooleanOption
Link copied to clipboard
open fun addBooleanOption(option: String): JavadocOptionFileOption<Boolean>
open fun addBooleanOption(option: String, value: Boolean): JavadocOptionFileOption<Boolean>
Adds an option that will be supplied or not without further arguments.
addEnumOption
Link copied to clipboard
open fun <T : Enum<T>?> addEnumOption(option: String): JavadocOptionFileOption<T>
open fun <T : Enum<T>?> addEnumOption(option: String, value: T): JavadocOptionFileOption<T>
Adds an option that will use the lowercased `toString()` value of an enum constant as option.
addFileOption
Link copied to clipboard
open fun addFileOption(option: String): JavadocOptionFileOption<File>
open fun addFileOption(option: String, value: File): JavadocOptionFileOption<File>
Adds an option that will have an absolute file path supplied as a separate argument.
addMultilineMultiValueOption
Link copied to clipboard
open fun addMultilineMultiValueOption(option: String): JavadocOptionFileOption<List<List<String>>>
Adds an option that will appear multiple times each with zero, one, or multiple values supplied as individual argument each.
addMultilineStringsOption
Link copied to clipboard
open fun addMultilineStringsOption(option: String): JavadocOptionFileOption<List<String>>
Adds an option that will appear multiple times each with one value supplied as a separate argument.
addOption
Link copied to clipboard
open fun <T> addOption(option: JavadocOptionFileOption<T>): JavadocOptionFileOption<T>
Add option.
addPathOption
Link copied to clipboard
open fun addPathOption(option: String): JavadocOptionFileOption<List<File>>
Adds an option that will have multiple absolute file paths joined by `path.separator` supplied as a separate argument.
open fun addPathOption(option: String, joinBy: String): JavadocOptionFileOption<List<File>>
Adds an option that will have multiple absolute file paths joined by the provided separator supplied as a separate argument.
addStringOption
Link copied to clipboard
open fun addStringOption(option: String): JavadocOptionFileOption<String>
open fun addStringOption(option: String, value: String): JavadocOptionFileOption<String>
Adds an option that will have one string value supplied as a separate argument.
addStringsOption
Link copied to clipboard
open fun addStringsOption(option: String): JavadocOptionFileOption<List<String>>
Adds an option that will have multiple values joined by `path.separator` supplied as a separate argument.
open fun addStringsOption(option: String, joinBy: String): JavadocOptionFileOption<List<String>>
Adds an option that will have multiple values joined by the provided separator supplied as a separate argument.
bootClasspath
Link copied to clipboard
open fun bootClasspath(bootClasspath: Array<File>): MinimalJavadocOptions
Boot classpath.
breakIterator
Link copied to clipboard
open fun breakIterator(): MinimalJavadocOptions
open fun breakIterator(breakIterator: Boolean): MinimalJavadocOptions
Break iterator.
classpath
Link copied to clipboard
open fun classpath(classpath: Array<File>): MinimalJavadocOptions
open fun classpath(classpath: List<File>): MinimalJavadocOptions
Classpath.
contributeCommandLineOptions
Link copied to clipboard
open fun contributeCommandLineOptions(execHandleBuilder: ExecSpec)
Contribute command line options.
destinationDirectory
Link copied to clipboard
abstract fun destinationDirectory(directory: File): MinimalJavadocOptions
Destination directory.
doclet
Link copied to clipboard
open fun doclet(doclet: String): MinimalJavadocOptions
Doclet.
docletpath
Link copied to clipboard
open fun docletpath(docletpath: Array<File>): MinimalJavadocOptions
Docletpath.
encoding
Link copied to clipboard
open fun encoding(encoding: String): MinimalJavadocOptions
Encoding.
extDirs
Link copied to clipboard
open fun extDirs(extDirs: Array<File>): MinimalJavadocOptions
Ext dirs.
getBootClasspath
Link copied to clipboard
open fun getBootClasspath(): List<File>
-bootclasspath classpathlist Specifies the paths where the boot classes reside.
getClasspath
Link copied to clipboard
open fun getClasspath(): List<File>
-classpath classpathlist Specifies the paths where javadoc will look for referenced classes (.class files) -- these are the documented classes plus any classes referenced by those classes.
getDestinationDirectory
Link copied to clipboard
@Internal
abstract fun getDestinationDirectory(): File
Returns the destination directory.
getDoclet
Link copied to clipboard
open fun getDoclet(): String
-doclet class Specifies the class file that starts the doclet used in generating the documentation.
getDocletpath
Link copied to clipboard
open fun getDocletpath(): List<File>
-docletpath classpathlist Specifies the path to the doclet starting class file (specified with the -doclet option) and any jar files it depends on.
getEncoding
Link copied to clipboard
open fun getEncoding(): String
-encoding name Specifies the encoding name of the source files, such as EUCJIS/SJIS.
getExtDirs
Link copied to clipboard
open fun getExtDirs(): List<File>
-extdirs dirlist Specifies the directories where extension classes reside.
getHeader
Link copied to clipboard
@Nullable
@Optional
@Input
abstract fun getHeader(): @Nullable String
Returns the header.
getLocale
Link copied to clipboard
open fun getLocale(): String
-locale language_country_variant Important - The -locale option must be placed ahead (to the left) of any options provided by the standard doclet or any other doclet.
getMemberLevel
Link copied to clipboard
open fun getMemberLevel(): JavadocMemberLevel
Switch to set the members that should be included in the Javadoc.
getModulePath
Link copied to clipboard
open fun getModulePath(): List<File>
The --module-path.
getOutputLevel
Link copied to clipboard
open fun getOutputLevel(): JavadocOutputLevel
Control the Javadoc output level (-verbose or -quiet).
getOverview
Link copied to clipboard
open fun getOverview(): String
-overview path\filename Specifies that javadoc should retrieve the text for the overview documentation from the "source" file specified by path/filename and place it on the Overview page (overview-summary.html).
getSource
Link copied to clipboard
open fun getSource(): String
-source release Specifies the version of source code accepted.
getSourceNames
Link copied to clipboard
open fun getSourceNames(): List<String>
Returns the source names.
getWindowTitle
Link copied to clipboard
@Nullable
@Optional
@Input
abstract fun getWindowTitle(): @Nullable String
Returns the window title.
header
Link copied to clipboard
abstract fun header(header: String): StandardJavadocDocletOptions
Header.
isBreakIterator
Link copied to clipboard
open fun isBreakIterator(): Boolean
-breakiterator Uses the internationalized sentence boundary of java.text.BreakIterator to determine the end of the first sentence for English (all other locales already use BreakIterator), rather than an English language, locale-specific algorithm.
isVerbose
Link copied to clipboard
open fun isVerbose(): Boolean
Returns whether verbose is set.
jFlags
Link copied to clipboard
open fun jFlags(jFlags: Array<String>): MinimalJavadocOptions
J flags.
knownOptionNames
Link copied to clipboard
@Incubating
open fun knownOptionNames(): Set<String>
Gets a set of all the options that are known to this class and have separate properties.
locale
Link copied to clipboard
open fun locale(locale: String): MinimalJavadocOptions
Locale.
modulePath
Link copied to clipboard
open fun modulePath(modulePath: List<File>): MinimalJavadocOptions
The --module-path.
optionFiles
Link copied to clipboard
open fun optionFiles(argumentFiles: Array<File>): MinimalJavadocOptions
Option files.
overview
Link copied to clipboard
open fun overview(overview: String): MinimalJavadocOptions
Fluent setter for the overview option.
quiet
Link copied to clipboard
open fun quiet(): MinimalJavadocOptions
Quiet.
setBootClasspath
Link copied to clipboard
open fun setBootClasspath(bootClasspath: List<File>)
Sets the boot classpath.
setBreakIterator
Link copied to clipboard
open fun setBreakIterator(breakIterator: Boolean)
Sets the break iterator.
setClasspath
Link copied to clipboard
open fun setClasspath(classpath: List<File>)
Sets the classpath.
setDestinationDirectory
Link copied to clipboard
abstract fun setDestinationDirectory(@Nullable directory: @Nullable File)
Sets the destination directory.
setDoclet
Link copied to clipboard
open fun setDoclet(doclet: String)
Sets the doclet.
setDocletpath
Link copied to clipboard
open fun setDocletpath(docletpath: List<File>)
Sets the docletpath.
setEncoding
Link copied to clipboard
open fun setEncoding(encoding: String)
Sets the encoding.
setExtDirs
Link copied to clipboard
open fun setExtDirs(extDirs: List<File>)
Sets the ext dirs.
setHeader
Link copied to clipboard
abstract fun setHeader(@Nullable header: @Nullable String)
Sets the header.
setJFlags
Link copied to clipboard
abstract fun setJFlags(@Nullable jFlags: @Nullable List<String>)
Sets the j flags.
setLocale
Link copied to clipboard
open fun setLocale(locale: String)
Sets the locale.
setMemberLevel
Link copied to clipboard
open fun setMemberLevel(memberLevel: JavadocMemberLevel)
Sets the member level.
setModulePath
Link copied to clipboard
open fun setModulePath(modulePath: List<File>)
The --module-path.
setOptionFiles
Link copied to clipboard
abstract fun setOptionFiles(@Nullable optionFiles: @Nullable List<File>)
Sets the option files.
setOutputLevel
Link copied to clipboard
open fun setOutputLevel(outputLevel: JavadocOutputLevel)
Sets the output level.
setOverview
Link copied to clipboard
open fun setOverview(overview: String)
Sets the overview.
setSource
Link copied to clipboard
open fun setSource(source: String)
Sets the source.
setSourceNames
Link copied to clipboard
open fun setSourceNames(sourceNames: List<String>)
Sets the source names.
setWindowTitle
Link copied to clipboard
abstract fun setWindowTitle(@Nullable windowTitle: @Nullable String)
Sets the window title.
showAll
Link copied to clipboard
open fun showAll(): MinimalJavadocOptions
Show all.
showFromPackage
Link copied to clipboard
open fun showFromPackage(): MinimalJavadocOptions
Show from package.
showFromPrivate
Link copied to clipboard
open fun showFromPrivate(): MinimalJavadocOptions
Show from private.
showFromProtected
Link copied to clipboard
open fun showFromProtected(): MinimalJavadocOptions
Show from protected.
showFromPublic
Link copied to clipboard
open fun showFromPublic(): MinimalJavadocOptions
Show from public.
source
Link copied to clipboard
open fun source(source: String): MinimalJavadocOptions
Source.
sourceNames
Link copied to clipboard
open fun sourceNames(sourceNames: Array<String>): MinimalJavadocOptions
Source names.
verbose
Link copied to clipboard
open fun verbose(): MinimalJavadocOptions
Verbose.
windowTitle
Link copied to clipboard
abstract fun windowTitle(windowTitle: String): StandardJavadocDocletOptions
Window title.
write
Link copied to clipboard
fun write(outputFile: File)
Write.