Class MockRecord

java.lang.Object
io.camunda.zeebe.test.exporter.record.ExporterMappedObject
io.camunda.zeebe.test.exporter.record.MockRecord
All Implemented Interfaces:
JsonSerializable, Record, Cloneable

@Deprecated(since="1.3.0", forRemoval=true) public class MockRecord extends ExporterMappedObject implements Record, Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.3.0. See issue 8143 for more information.
  • Field Summary

    Fields inherited from class io.camunda.zeebe.test.exporter.record.ExporterMappedObject

    OBJECT_MAPPER
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    MockRecord(long position, long sourceRecordPosition, long key, long timestamp, MockRecordMetadata metadata, MockRecordValueWithVariables value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    setKey(long key)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    setPosition(long position)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    setSourceRecordPosition(long sourceRecordPosition)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    setTimestamp(long timestamp)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class io.camunda.zeebe.test.exporter.record.ExporterMappedObject

    setJson, setJson, toJson

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable

    toJson
  • Constructor Details

    • MockRecord

      public MockRecord()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MockRecord

      public MockRecord(long position, long sourceRecordPosition, long key, long timestamp, MockRecordMetadata metadata, MockRecordValueWithVariables value)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getPosition

      public long getPosition()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPosition in interface Record
    • setPosition

      public MockRecord setPosition(long position)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSourceRecordPosition

      public long getSourceRecordPosition()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSourceRecordPosition in interface Record
    • setSourceRecordPosition

      public MockRecord setSourceRecordPosition(long sourceRecordPosition)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getKey

      public long getKey()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getKey in interface Record
    • setKey

      public MockRecord setKey(long key)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTimestamp

      public long getTimestamp()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getTimestamp in interface Record
    • getIntent

      public Intent getIntent()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getIntent in interface Record
    • getPartitionId

      public int getPartitionId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPartitionId in interface Record
    • getRecordType

      public RecordType getRecordType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRecordType in interface Record
    • getRejectionType

      public RejectionType getRejectionType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRejectionType in interface Record
    • getRejectionReason

      public String getRejectionReason()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getRejectionReason in interface Record
    • getBrokerVersion

      public String getBrokerVersion()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getBrokerVersion in interface Record
    • getValueType

      public ValueType getValueType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getValueType in interface Record
    • getValue

      public MockRecordValueWithVariables getValue()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getValue in interface Record
    • setValue

      public MockRecord setValue(MockRecordValueWithVariables value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTimestamp

      public MockRecord setTimestamp(long timestamp)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getMetadata

      public MockRecordMetadata getMetadata()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMetadata

      public MockRecord setMetadata(MockRecordMetadata metadata)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • clone

      public Record clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      clone in interface Record
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object