Class ExecuteCommandResponse
- java.lang.Object
-
- io.camunda.zeebe.test.broker.protocol.commandapi.ExecuteCommandResponse
-
- All Implemented Interfaces:
BufferReader
public final class ExecuteCommandResponse extends Object implements BufferReader
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorResponseerrorResponseprotected MsgPackHelpermsgPackHelperprotected Map<String,Object>value
-
Constructor Summary
Constructors Constructor Description ExecuteCommandResponse(MsgPackHelper msgPackHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntentgetIntent()longgetKey()intgetPartitionId()org.agrona.DirectBuffergetRawValue()RecordTypegetRecordType()StringgetRejectionReason()RejectionTypegetRejectionType()Map<String,Object>getValue()ValueTypegetValueType()<T extends BufferReader>
TreadInto(T record)voidwrap(org.agrona.DirectBuffer responseBuffer, int offset, int length)
-
-
-
Field Detail
-
errorResponse
protected final ErrorResponse errorResponse
-
msgPackHelper
protected final MsgPackHelper msgPackHelper
-
-
Constructor Detail
-
ExecuteCommandResponse
public ExecuteCommandResponse(MsgPackHelper msgPackHelper)
-
-
Method Detail
-
getRawValue
public org.agrona.DirectBuffer getRawValue()
-
getKey
public long getKey()
-
getPartitionId
public int getPartitionId()
-
getValueType
public ValueType getValueType()
-
getIntent
public Intent getIntent()
-
getRecordType
public RecordType getRecordType()
-
getRejectionType
public RejectionType getRejectionType()
-
getRejectionReason
public String getRejectionReason()
-
wrap
public void wrap(org.agrona.DirectBuffer responseBuffer, int offset, int length)- Specified by:
wrapin interfaceBufferReader
-
readInto
public <T extends BufferReader> T readInto(T record)
-
-