InputStateFactory

@Factory
class InputStateFactory

Micronaut factory for the InputState singleton.

The value may be defined via two Micronaut properties:

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Singleton
@Requires(missingProperty = "airbyte.connector.state.resource")
fun make(@Value(value = "${airbyte.connector.state.json}") json: String?): InputState
Link copied to clipboard
@Singleton
@Requires(env = ["test"])
@Requires(notEnv = ["cli"])
@Requires(property = "airbyte.connector.state.resource")
fun makeFromTestResource(@Value(value = "${airbyte.connector.state.resource}") resource: String): InputState