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:
  • Constructor Details

    • ScalaDocOptions

      public ScalaDocOptions()
  • Method Details

    • 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

      @Input @Optional public String getWindowTitle()
      Returns the text to appear in the window title.
    • setWindowTitle

      public void setWindowTitle(String windowTitle)
      Sets the text to appear in the window title.
    • getDocTitle

      @Input @Optional public String getDocTitle()
      Returns the HTML text to appear in the main frame title.
    • setDocTitle

      public void setDocTitle(String docTitle)
      Sets the HTML text to appear in the main frame title.
    • getHeader

      @Input @Optional public String getHeader()
      Returns the HTML text to appear in the header for each page.
    • setHeader

      public void setHeader(String header)
      Sets the HTML text to appear in the header for each page.
    • getFooter

      @Input @Optional public String getFooter()
      Returns the HTML text to appear in the footer for each page.
    • setFooter

      public void setFooter(String footer)
      Sets the HTML text to appear in the footer for each page.
    • getTop

      @Input @Optional public String getTop()
      Returns the HTML text to appear in the top text for each page.
    • setTop

      public void setTop(String top)
      Sets the HTML text to appear in the top text for each page.
    • getBottom

      @Input @Optional public String getBottom()
      Returns the HTML text to appear in the bottom text for each page.
    • setBottom

      public void setBottom(String bottom)
      Sets the HTML text to appear in the bottom text for each page.
    • getStyleSheet

      Deprecated.
      Scaladoc does not support to set a stylesheet any more (Scala 2.11).
      Returns the style sheet to override default style.
    • setStyleSheet

      @Deprecated public void setStyleSheet(File styleSheet)
      Deprecated.
      Scaladoc does not support to set a stylesheet any more (Scala 2.11).
      Sets the style sheet to override default style.
    • getAdditionalParameters

      @Input @Optional public List<String> getAdditionalParameters()
      Returns the additional parameters passed to the compiler. Each parameter starts with '-'.
    • setAdditionalParameters

      public void setAdditionalParameters(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 class AbstractOptions
    • getAntPropertyValue

      protected Object getAntPropertyValue(String fieldName, Object value)
      Overrides:
      getAntPropertyValue in class AbstractOptions