Package io.airbyte.configoss
Class StateWrapper
java.lang.Object
io.airbyte.configoss.StateWrapper
- All Implemented Interfaces:
Serializable
StateWrapper
Wrapper around the different type of States
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.airbyte.protocol.models.AirbyteStateMessageRepresentation of the sharedcom.fasterxml.jackson.databind.JsonNodeLegacy State for states that haven't been migrated yetList<io.airbyte.protocol.models.AirbyteStateMessage> StateTypeinthashCode()voidsetGlobal(io.airbyte.protocol.models.AirbyteStateMessage global) Representation of the sharedvoidsetLegacyState(com.fasterxml.jackson.databind.JsonNode legacyState) Legacy State for states that haven't been migrated yetvoidsetStateMessages(List<io.airbyte.protocol.models.AirbyteStateMessage> stateMessages) voidsetStateType(StateType stateType) StateTypetoString()withGlobal(io.airbyte.protocol.models.AirbyteStateMessage global) withLegacyState(com.fasterxml.jackson.databind.JsonNode legacyState) withStateMessages(List<io.airbyte.protocol.models.AirbyteStateMessage> stateMessages) withStateType(StateType stateType)
-
Constructor Details
-
StateWrapper
public StateWrapper()
-
-
Method Details
-
getStateType
StateTypeState Types (Required)
-
setStateType
StateTypeState Types (Required)
-
withStateType
-
getLegacyState
public com.fasterxml.jackson.databind.JsonNode getLegacyState()Legacy State for states that haven't been migrated yet -
setLegacyState
public void setLegacyState(com.fasterxml.jackson.databind.JsonNode legacyState) Legacy State for states that haven't been migrated yet -
withLegacyState
-
getGlobal
public io.airbyte.protocol.models.AirbyteStateMessage getGlobal()Representation of the shared -
setGlobal
public void setGlobal(io.airbyte.protocol.models.AirbyteStateMessage global) Representation of the shared -
withGlobal
-
getStateMessages
-
setStateMessages
-
withStateMessages
public StateWrapper withStateMessages(List<io.airbyte.protocol.models.AirbyteStateMessage> stateMessages) -
toString
-
hashCode
public int hashCode() -
equals
-