Package org.gradle.api.tasks.scala
Class ScalaDocOptions
- java.lang.Object
-
- org.gradle.api.tasks.compile.AbstractOptions
-
- org.gradle.api.tasks.scala.ScalaDocOptions
-
- All Implemented Interfaces:
Serializable
public class ScalaDocOptions extends AbstractOptions
Options for the ScalaDoc tool.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScalaDocOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAdditionalParameters()
Returns the additional parameters passed to the compiler.protected String
getAntPropertyName(String fieldName)
protected Object
getAntPropertyValue(String fieldName, Object value)
String
getBottom()
Returns the HTML text to appear in the bottom text for each page.String
getDocTitle()
Returns the HTML text to appear in the main frame title.String
getFooter()
Returns the HTML text to appear in the footer for each page.String
getHeader()
Returns the HTML text to appear in the header for each page.String
getTop()
Returns the HTML text to appear in the top text for each page.String
getWindowTitle()
Returns the text to appear in the window title.boolean
isDeprecation()
Tells whether to generate deprecation information.boolean
isUnchecked()
Tells whether to generate unchecked information.void
setAdditionalParameters(List<String> additionalParameters)
Sets the additional parameters passed to the compiler.void
setBottom(String bottom)
Sets the HTML text to appear in the bottom text for each page.void
setDeprecation(boolean deprecation)
Sets whether to generate deprecation information.void
setDocTitle(String docTitle)
Sets the HTML text to appear in the main frame title.void
setFooter(String footer)
Sets the HTML text to appear in the footer for each page.void
setHeader(String header)
Sets the HTML text to appear in the header for each page.void
setTop(String top)
Sets the HTML text to appear in the top text for each page.void
setUnchecked(boolean unchecked)
Sets whether to generate unchecked information.void
setWindowTitle(String windowTitle)
Sets the text to appear in the window title.-
Methods inherited from class org.gradle.api.tasks.compile.AbstractOptions
define, excludeFromAntProperties, optionMap
-
-
-
-
Method Detail
-
isDeprecation
@Input public boolean isDeprecation()
Tells whether to generate deprecation information.
-
setDeprecation
public void setDeprecation(boolean deprecation)
Sets whether to generate deprecation information.
-
isUnchecked
@Input public boolean isUnchecked()
Tells whether to generate unchecked information.
-
setUnchecked
public void setUnchecked(boolean unchecked)
Sets whether to generate unchecked information.
-
getWindowTitle
@Nullable @Optional @Input public String getWindowTitle()
Returns the text to appear in the window title.
-
setWindowTitle
public void setWindowTitle(@Nullable String windowTitle)
Sets the text to appear in the window title.
-
getDocTitle
@Nullable @Optional @Input public String getDocTitle()
Returns the HTML text to appear in the main frame title.
-
setDocTitle
public void setDocTitle(@Nullable String docTitle)
Sets the HTML text to appear in the main frame title.
-
getHeader
@Nullable @Optional @Input public String getHeader()
Returns the HTML text to appear in the header for each page.
-
setHeader
public void setHeader(@Nullable String header)
Sets the HTML text to appear in the header for each page.
-
getFooter
@Nullable @Optional @Input public String getFooter()
Returns the HTML text to appear in the footer for each page.
-
setFooter
public void setFooter(@Nullable String footer)
Sets the HTML text to appear in the footer for each page.
-
getTop
@Nullable @Optional @Input public String getTop()
Returns the HTML text to appear in the top text for each page.
-
setTop
public void setTop(@Nullable String top)
Sets the HTML text to appear in the top text for each page.
-
getBottom
@Nullable @Optional @Input public String getBottom()
Returns the HTML text to appear in the bottom text for each page.
-
setBottom
public void setBottom(@Nullable String bottom)
Sets the HTML text to appear in the bottom text for each page.
-
getAdditionalParameters
@Nullable @Optional @Input public List<String> getAdditionalParameters()
Returns the additional parameters passed to the compiler. Each parameter starts with '-'.
-
setAdditionalParameters
public void setAdditionalParameters(@Nullable List<String> additionalParameters)
Sets the additional parameters passed to the compiler. Each parameter must start with '-'.
-
getAntPropertyName
protected String getAntPropertyName(String fieldName)
- Overrides:
getAntPropertyName
in classAbstractOptions
-
getAntPropertyValue
protected Object getAntPropertyValue(String fieldName, Object value)
- Overrides:
getAntPropertyValue
in classAbstractOptions
-
-