object PipelineJob extends ConfigLoader[PipelineJob] with Serializable
Factory method to build a job configuration from a configuration file in the classpath.
- Alphabetic
- By Inheritance
- PipelineJob
- Serializable
- Serializable
- ConfigLoader
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
configurationRoot: String
Typesafe config configuration root
Typesafe config configuration root
- Definition Classes
- PipelineJob → ConfigLoader
-
val
defaultResourceBasename: String
The default classpath resource containing the job configuration.
The default classpath resource containing the job configuration.
- Definition Classes
- PipelineJob → ConfigLoader
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(): PipelineJob
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): PipelineJob
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): PipelineJob
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): PipelineJob
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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @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): PipelineJob
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[PipelineJob]
Value reader for type T
Value reader for type T
- Definition Classes
- PipelineJob → ConfigLoader
-
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()