object PipelineConfig extends ConfigLoader[PipelineConfig] with Serializable
Factory method to build a pipeline configuration from a configuration file in the classpath.
- Alphabetic
- By Inheritance
- PipelineConfig
- Serializable
- ConfigLoader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val configurationRoot: String
Typesafe config configuration root
Typesafe config configuration root
- Definition Classes
- PipelineConfig → ConfigLoader
- val defaultResourceBasename: String
The default classpath resource containing the pipeline configuration.
The default classpath resource containing the pipeline configuration.
- Definition Classes
- PipelineConfig → ConfigLoader
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def load(): PipelineConfig
Loads the default configuration.
Loads the default configuration.
If the system property overrideResource is set, the configuration is parsed from that classpath resource. Otherwise, if the system property overrideFile is set, the configuration is parsed from that file. Otherwise, if the system property overrideUrl is set, the configuration is parsed from that URL. If none of those system properties is set, the configuration is parsed from the classpath resource with basename defaultResourceBasename.
- returns
a config object of type T containing the job configuration.
- Definition Classes
- ConfigLoader
- def load(resource: String): PipelineConfig
Loads a configuration from the classpath.
Loads a configuration from the classpath.
- resource
Name or basename of the resource file where the configuration is stored. If the extension is not specified, typesafe config will search for ".conf", ".json" and ".properties".
- returns
a config object of type T containing the configuration.
- Definition Classes
- ConfigLoader
- def loadFile(file: File): PipelineConfig
Loads a configuration from file.
Loads a configuration from file.
- file
Path of the file where the configuration is stored. ".conf", ".json" and ".properties" extensions are supported.
- returns
a config object of type T containing the configuration.
- Definition Classes
- ConfigLoader
- def loadURL(url: URL): PipelineConfig
Loads a configuration from URL.
Loads a configuration from URL.
- url
URL where the configuration is stored. ".conf", ".json" and ".properties" files are supported.
- returns
a config object of type T containing the configuration.
- Definition Classes
- ConfigLoader
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def overrideFile: String
System property to set the file where the configuration is
System property to set the file where the configuration is
- Definition Classes
- ConfigLoader
- def overrideResource: String
System property to set the classpath resource where the configuration is
System property to set the classpath resource where the configuration is
- Definition Classes
- ConfigLoader
- def overrideUrl: String
System property to set the URL where the configuration is
System property to set the URL where the configuration is
- Definition Classes
- ConfigLoader
- def parseString(string: String): PipelineConfig
Parse a configuration from a string.
Parse a configuration from a string.
- string
configuration in HOCON or JSON format.
- returns
a config object of type T containing the configuration.
- Definition Classes
- ConfigLoader
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def valueReader: ValueReader[PipelineConfig]
Value reader for type T
Value reader for type T
- Definition Classes
- PipelineConfig → ConfigLoader
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)