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
ConstructorsConstructorDescriptionDeprecated, 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 TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, 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.longgetKey()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.intDeprecated, for removal: This API element is subject to removal in a future version.longDeprecated, 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.longDeprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.getValue()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.inthashCode()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.setMetadata(MockRecordMetadata metadata) 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.toString()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, toJsonMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getPositionin interfaceRecord
-
setPosition
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:
getSourceRecordPositionin interfaceRecord
-
setSourceRecordPosition
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. -
setKey
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:
getTimestampin interfaceRecord
-
getIntent
Deprecated, for removal: This API element is subject to removal in a future version. -
getPartitionId
public int getPartitionId()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPartitionIdin interfaceRecord
-
getRecordType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRecordTypein interfaceRecord
-
getRejectionType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRejectionTypein interfaceRecord
-
getRejectionReason
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRejectionReasonin interfaceRecord
-
getBrokerVersion
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBrokerVersionin interfaceRecord
-
getValueType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getValueTypein interfaceRecord
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version. -
setValue
Deprecated, for removal: This API element is subject to removal in a future version. -
setTimestamp
Deprecated, for removal: This API element is subject to removal in a future version. -
getMetadata
Deprecated, for removal: This API element is subject to removal in a future version. -
setMetadata
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. -
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
clone
Deprecated, for removal: This API element is subject to removal in a future version. -
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-