Airbyte Kotlin Bulk CDK
Toggle table of contents
0.1.92
jvm
Platform filter
jvm
Switch theme
Search in API
Airbyte Kotlin Bulk CDK
bulk-cdk-core-base
/
io.airbyte.cdk
/
ClockFactory
Clock
Factory
@
Factory
class
ClockFactory
Injects the system clock in production and a fake clock in tests.
Members
Constructors
Clock
Factory
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
fixed
Link copied to clipboard
@
Singleton
@
Requires
(
env
=
[
"test"
]
)
@
Requires
(
notEnv
=
[
"offset-clock"
]
)
fun
fixed
(
)
:
Clock
offset
Link copied to clipboard
@
Singleton
@
Requires
(
env
=
[
"test"
]
)
@
Requires
(
env
=
[
"offset-clock"
]
)
fun
offset
(
)
:
Clock
system
Link copied to clipboard
@
Singleton
@
Requires
(
notEnv
=
[
"test"
]
)
fun
system
(
)
:
Clock