class ServerConfig extends AnyRef
Additional configuration options for a preview server.
- Alphabetic
- By Inheritance
- ServerConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val apiDir: Option[FilePath]
- val artifactBasename: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val host: Host
- val includeEPUB: Boolean
- val includePDF: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isVerbose: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pollInterval: FiniteDuration
- val port: Port
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
verbose: ServerConfig
Indicates that each served page and each detected file change should be logged to the console.
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAPIDirectory(dir: FilePath): ServerConfig
Specifies a directory from which API documentation of the site can be served.
Specifies a directory from which API documentation of the site can be served. This step is only necessary if you want to test links to API documentation with the preview server.
-
def
withArtifactBasename(name: String): ServerConfig
Specifies the base name for PDF and EPUB artifacts linked by the generated site (default "docs").
Specifies the base name for PDF and EPUB artifacts linked by the generated site (default "docs"). Additional classifiers might be added to the base name (apart from the file suffix), depending on configuration.
-
def
withEPUBDownloads: ServerConfig
Indicates that EPUB downloads should be included on the download page.
-
def
withHost(host: Host): ServerConfig
Specifies the host the server should run on (default localhost).
-
def
withPDFDownloads: ServerConfig
Indicates that PDF downloads should be included on the download page.
-
def
withPollInterval(interval: FiniteDuration): ServerConfig
Specifies the interval at which input file resources are polled for changes (default 1 second).
-
def
withPort(port: Port): ServerConfig
Specifies the port the server should run on (default 4242).
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
withAPIDirectory(dir: File): ServerConfig
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.0) use withAPIDirectory(FilePath)