Class StateWrapper

java.lang.Object
io.airbyte.configoss.StateWrapper
All Implemented Interfaces:
Serializable

public class StateWrapper extends Object implements Serializable
StateWrapper

Wrapper around the different type of States

See Also:
  • Constructor Details

    • StateWrapper

      public StateWrapper()
  • Method Details

    • getStateType

      public StateType getStateType()
      StateType

      State Types (Required)

    • setStateType

      public void setStateType(StateType stateType)
      StateType

      State Types (Required)

    • withStateType

      public StateWrapper withStateType(StateType stateType)
    • 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

      public StateWrapper withLegacyState(com.fasterxml.jackson.databind.JsonNode legacyState)
    • 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

      public StateWrapper withGlobal(io.airbyte.protocol.models.AirbyteStateMessage global)
    • getStateMessages

      public List<io.airbyte.protocol.models.AirbyteStateMessage> getStateMessages()
    • setStateMessages

      public void setStateMessages(List<io.airbyte.protocol.models.AirbyteStateMessage> stateMessages)
    • withStateMessages

      public StateWrapper withStateMessages(List<io.airbyte.protocol.models.AirbyteStateMessage> stateMessages)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object