class Scaladoc extends ScalaMatchingTask
An Ant task to document Scala code.
This task can take the following parameters as attributes:
srcdir(mandatory),srcref,destdir,classpath,classpathref,sourcepath,sourcepathref,bootclasspath,bootclasspathref,extdirs,extdirsref,encoding,doctitle,header,footer,top,bottom,addparams,deprecation,docgenerator,docrootcontent,unchecked,nofail,skipPackages.
It also takes the following parameters as nested elements:
src(for srcdir),classpath,sourcepath,bootclasspath,extdirs.
- Source
- Scaladoc.scala
- Alphabetic
- By Inheritance
- Scaladoc
- ScalaMatchingTask
- ScalaTask
- MatchingTask
- SelectorContainer
- Task
- ProjectComponent
- Cloneable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Scaladoc()
Type Members
- abstract class PermissibleValue extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Scaladoc, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
XsetIgnore(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
XsetItems(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
add(arg0: FileSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addAnd(arg0: AndSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addContains(arg0: ContainsSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addContainsRegexp(arg0: ContainsRegexpSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addCustom(arg0: ExtendSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDate(arg0: DateSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDepend(arg0: DependSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDepth(arg0: DepthSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addDifferent(arg0: DifferentSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addFilename(arg0: FilenameSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addMajority(arg0: MajoritySelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addModified(arg0: ModifiedSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addNone(arg0: NoneSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addNot(arg0: NotSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addOr(arg0: OrSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addPresent(arg0: PresentSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addSelector(arg0: SelectSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addSize(arg0: SizeSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
addType(arg0: TypeSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
def
appendSelector(arg0: FileSelector): Unit
- Definition Classes
- MatchingTask → SelectorContainer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
bindToOwner(arg0: Task): Unit
- Definition Classes
- Task
-
def
buildError(message: String): Nothing
Generates a build error.
Generates a build error. Error location will be the current task in the ant file.
- message
A message describing the error.
- Attributes
- protected
- Definition Classes
- ScalaTask
- Exceptions thrown
BuildExceptionA build error exception thrown in every case.
-
def
clone(): AnyRef
- Definition Classes
- ProjectComponent → AnyRef
- Annotations
- @throws( ... )
-
def
createBootclasspath(): Path
Sets the
bootclasspathas a nestedsourcepathAnt parameter.Sets the
bootclasspathas a nestedsourcepathAnt parameter.- returns
A source path to be configured.
-
def
createClasspath(): Path
Sets the
classpathas a nested classpath Ant parameter.Sets the
classpathas a nested classpath Ant parameter.- returns
A class path to be configured.
-
def
createExclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createExcludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createExtdirs(): Path
Sets the
extdirsas a nested sourcepath Ant parameter.Sets the
extdirsas a nested sourcepath Ant parameter.- returns
An extensions path to be configured.
-
def
createInclude(): NameEntry
- Definition Classes
- MatchingTask
-
def
createIncludesFile(): NameEntry
- Definition Classes
- MatchingTask
-
def
createPatternSet(): PatternSet
- Definition Classes
- MatchingTask
-
def
createSourcepath(): Path
Sets the
sourcepathas a nested sourcepath Ant parameter.Sets the
sourcepathas a nested sourcepath Ant parameter.- returns
A source path to be configured.
-
def
createSrc(): Path
Sets the
originas a nested src Ant parameter.Sets the
originas a nested src Ant parameter.- returns
An origin path to be configured.
- def ensuring(cond: (Scaladoc) ⇒ Boolean, msg: ⇒ Any): Scaladoc
- def ensuring(cond: (Scaladoc) ⇒ Boolean): Scaladoc
- def ensuring(cond: Boolean, msg: ⇒ Any): Scaladoc
- def ensuring(cond: Boolean): Scaladoc
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(): Unit
Performs the compilation.
Performs the compilation.
- Definition Classes
- Scaladoc → Task
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDescription(): String
- Definition Classes
- ProjectComponent
-
def
getDirectoryScanner(baseDir: File): DirectoryScanner
This is forwarding method to circumvent bug #281 in Scala 2.
This is forwarding method to circumvent bug #281 in Scala 2. Remove when bug has been corrected.
- Attributes
- protected
- Definition Classes
- Scaladoc → MatchingTask
-
final
def
getImplicitFileSet(): FileSet
- Attributes
- protected[taskdefs]
- Definition Classes
- MatchingTask
-
def
getLocation(): Location
- Definition Classes
- ProjectComponent
-
def
getOwningTarget(): Target
- Definition Classes
- Task
-
def
getProject(): Project
- Definition Classes
- ProjectComponent
-
def
getRuntimeConfigurableWrapper(): RuntimeConfigurable
- Definition Classes
- Task
-
def
getSelectors(arg0: Project): Array[FileSelector]
- Definition Classes
- MatchingTask → SelectorContainer
-
def
getTaskName(): String
- Definition Classes
- Task
-
def
getTaskType(): String
- Definition Classes
- Task
-
def
getWrapper(): RuntimeConfigurable
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleErrorFlush(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleErrorOutput(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleFlush(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
handleInput(arg0: Array[Byte], arg1: Int, arg2: Int): Int
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
handleOutput(arg0: String): Unit
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
hasSelectors(): Boolean
- Definition Classes
- MatchingTask → SelectorContainer
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
init(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
-
def
initialize: (Settings, List[File])
Initializes settings and source files
Initializes settings and source files
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isInvalid(): Boolean
- Attributes
- protected[org.apache.tools.ant]
- Definition Classes
- Task
-
def
log(arg0: String, arg1: java.lang.Throwable, arg2: Int): Unit
- Definition Classes
- Task
-
def
log(arg0: java.lang.Throwable, arg1: Int): Unit
- Definition Classes
- Task
-
def
log(arg0: String, arg1: Int): Unit
- Definition Classes
- Task → ProjectComponent
-
def
log(arg0: String): Unit
- Definition Classes
- Task → ProjectComponent
-
def
maybeConfigure(): Unit
- Definition Classes
- Task
- Annotations
- @throws( ... )
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
perform(): Unit
- Definition Classes
- Task
-
def
reconfigure(): Unit
- Definition Classes
- Task
- def safeBuildError(message: String): Unit
-
def
selectorCount(): Int
- Definition Classes
- MatchingTask → SelectorContainer
-
def
selectorElements(): java.util.Enumeration[FileSelector]
- Definition Classes
- MatchingTask → SelectorContainer
-
def
setAddparams(input: String): Unit
Set the
addparamsinfo attribute.Set the
addparamsinfo attribute.- input
The value for
addparams.
-
def
setBootclasspath(input: Path): Unit
Sets the
bootclasspathattribute.Sets the
bootclasspathattribute. Used by Ant.- input
The value of
bootclasspath.
-
def
setBootclasspathref(input: Reference): Unit
Sets the
bootclasspathas an external reference Ant parameter.Sets the
bootclasspathas an external reference Ant parameter.- input
A reference to a source path.
-
def
setCaseSensitive(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setClasspath(input: Path): Unit
Sets the
classpathattribute.Sets the
classpathattribute. Used by Ant.- input
The value of
classpath.
-
def
setClasspathref(input: Reference): Unit
Sets the
classpathas an external reference Ant parameter.Sets the
classpathas an external reference Ant parameter.- input
A reference to a class path.
-
def
setDefaultexcludes(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setDeprecation(input: String): Unit
Set the
deprecationinfo attribute.Set the
deprecationinfo attribute.- input
One of the flags
yes/nooron/off.
-
def
setDescription(arg0: String): Unit
- Definition Classes
- ProjectComponent
-
def
setDestdir(input: File): Unit
Sets the
destdirattribute.Sets the
destdirattribute. Used by Ant.- input
The value of
destination.
-
def
setDiagrams(input: String): Unit
Set the
diagramsbit so Scaladoc adds diagrams to the documentationSet the
diagramsbit so Scaladoc adds diagrams to the documentation- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setDiagramsDebug(input: String): Unit
Set the
diagramsDebugbit so Scaladoc outputs diagram building debug informationSet the
diagramsDebugbit so Scaladoc outputs diagram building debug information- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setDiagramsDotPath(input: String): Unit
Set the
diagramsDotPathattribute to the path where graphviz dot can be found (including the binary file name, eg: /usr/bin/dot) - def setDocUncompilable(input: String): Unit
-
def
setDocfooter(input: String): Unit
Sets the
docfooterattribute.Sets the
docfooterattribute.- input
The value of
docfooter.
-
def
setDocgenerator(input: String): Unit
Sets the
docgeneratorattribute.Sets the
docgeneratorattribute.- input
A fully qualified class name of a doclet.
-
def
setDocrootcontent(input: File): Unit
Sets the
docrootcontentattribute.Sets the
docrootcontentattribute.- input
The file from which the documentation content of the root package will be taken.
-
def
setDocsourceurl(input: String): Unit
Sets the
docsourceurlattribute.Sets the
docsourceurlattribute.- input
The value of
docsourceurl.
-
def
setDoctitle(input: String): Unit
Sets the
doctitleattribute.Sets the
doctitleattribute.- input
The value of
doctitle.
-
def
setDocversion(input: String): Unit
Sets the
docversionattribute.Sets the
docversionattribute.- input
The value of
docversion.
-
def
setEncoding(input: String): Unit
Sets the
encodingattribute.Sets the
encodingattribute. Used by Ant.- input
The value of
encoding.
-
def
setExcludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setExcludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setExtdirs(input: Path): Unit
Sets the external extensions path attribute.
Sets the external extensions path attribute. Used by Ant.
- input
The value of
extdirs.
-
def
setExtdirsref(input: Reference): Unit
Sets the
extdirsas an external reference Ant parameter.Sets the
extdirsas an external reference Ant parameter.- input
A reference to an extensions path.
-
def
setFollowSymlinks(arg0: Boolean): Unit
- Definition Classes
- MatchingTask
-
def
setGroups(input: String): Unit
Instruct the scaladoc tool to group similar functions together
-
def
setImplicits(input: String): Unit
Set the
implicitsinfo attribute.Set the
implicitsinfo attribute.- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setImplicitsDebug(input: String): Unit
Set the
implicitsDebuginfo attribute so scaladoc outputs implicit conversion debug informationSet the
implicitsDebuginfo attribute so scaladoc outputs implicit conversion debug information- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setImplicitsShowAll(input: String): Unit
Set the
implicitsShowAllinfo attribute to enable scaladoc to show all implicits, including those impossible to convert to from the default scopeSet the
implicitsShowAllinfo attribute to enable scaladoc to show all implicits, including those impossible to convert to from the default scope- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setIncludes(arg0: String): Unit
- Definition Classes
- MatchingTask
-
def
setIncludesfile(arg0: File): Unit
- Definition Classes
- MatchingTask
-
def
setLocation(arg0: Location): Unit
- Definition Classes
- ProjectComponent
-
def
setNoFail(input: String): Unit
Set the
nofailinfo attribute.Set the
nofailinfo attribute.- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setNoPrefixes(input: String): Unit
Set the
noPrefixesbit to prevent Scaladoc from generating prefixes in front of types -- may lead to confusion, but significantly speeds up the generation.Set the
noPrefixesbit to prevent Scaladoc from generating prefixes in front of types -- may lead to confusion, but significantly speeds up the generation.- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setOwningTarget(arg0: Target): Unit
- Definition Classes
- Task
-
def
setProject(arg0: Project): Unit
- Definition Classes
- MatchingTask → ProjectComponent
-
def
setRawOutput(input: String): Unit
Set the
rawOutputbit so Scaladoc also outputs text from each html fileSet the
rawOutputbit so Scaladoc also outputs text from each html file- input
One of the flags
yes/nooron/off. Default if no/off.
-
def
setRuntimeConfigurableWrapper(arg0: RuntimeConfigurable): Unit
- Definition Classes
- Task
-
def
setSkipPackages(input: String): Unit
Instruct the scaladoc tool to skip certain packages.
Instruct the scaladoc tool to skip certain packages.
- input
A colon-delimited list of fully qualified package names that will be skipped from scaladoc.
-
def
setSourcepath(input: Path): Unit
Sets the
sourcepathattribute.Sets the
sourcepathattribute. Used by Ant.- input
The value of
sourcepath.
-
def
setSourcepathref(input: Reference): Unit
Sets the
sourcepathas an external reference Ant parameter.Sets the
sourcepathas an external reference Ant parameter.- input
A reference to a source path.
-
def
setSrcdir(input: Path): Unit
Sets the
srcdirattribute.Sets the
srcdirattribute. Used by Ant.- input
The value of
origin.
-
def
setSrcref(input: Reference): Unit
Sets the
originas an external reference Ant parameter.Sets the
originas an external reference Ant parameter.- input
A reference to an origin path.
-
def
setTaskName(arg0: String): Unit
- Definition Classes
- Task
-
def
setTaskType(arg0: String): Unit
- Definition Classes
- Task
-
def
setUnchecked(input: String): Unit
Set the
uncheckedinfo attribute.Set the
uncheckedinfo attribute.- input
One of the flags
yes/nooron/off.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def →[B](y: B): (Scaladoc, B)
-
object
Flag extends PermissibleValue
Defines valid values for the
deprecationanduncheckedproperties.
The Scala compiler and reflection APIs.