Package net.corda.data.flow.event
Class FlowEvent.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class FlowEvent.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for FlowEvent instances.
-
-
Method Summary
Modifier and Type Method Description String
getFlowId()
Gets the value of the 'flowId' field. FlowEvent.Builder
setFlowId(String value)
Sets the value of the 'flowId' field. Object
getPayload()
Gets the value of the 'payload' field. FlowEvent.Builder
setPayload(Object value)
Sets the value of the 'payload' field. boolean
hasFlowId()
Checks whether the 'flowId' field has been set. FlowEvent.Builder
clearFlowId()
Clears the value of the 'flowId' field. boolean
hasPayload()
Checks whether the 'payload' field has been set. FlowEvent.Builder
clearPayload()
Clears the value of the 'payload' field. FlowEvent
build()
-
-
Method Detail
-
setFlowId
FlowEvent.Builder setFlowId(String value)
Sets the value of the 'flowId' field.
- Parameters:
value
- The value of 'flowId'.
-
getPayload
Object getPayload()
Gets the value of the 'payload' field.
-
setPayload
FlowEvent.Builder setPayload(Object value)
Sets the value of the 'payload' field.
- Parameters:
value
- The value of 'payload'.
-
hasFlowId
boolean hasFlowId()
Checks whether the 'flowId' field has been set.
-
clearFlowId
FlowEvent.Builder clearFlowId()
Clears the value of the 'flowId' field.
-
hasPayload
boolean hasPayload()
Checks whether the 'payload' field has been set.
-
clearPayload
FlowEvent.Builder clearPayload()
Clears the value of the 'payload' field.
-
-
-
-