Class DbSchedulerHumanReadableEventData
java.lang.Object
org.axonframework.eventhandling.scheduling.dbscheduler.DbSchedulerHumanReadableEventData
- All Implemented Interfaces:
Serializable
Pojo for the data needed by the db-scheduler Scheduler. This will need to be serializable by the
Serializer configured on the
Scheduler. This one is used with the
invalid reference
DbSchedulerEventScheduler#humanReadableTask()
- Since:
- 4.8.0
- Author:
- Gerard Klijs
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbSchedulerHumanReadableEventData(String serializedPayload, String payloadClass, String revision, String serializedMetadata) Crates a newDbSchedulerHumanReadableEventDatawith all the fields set. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the payload class.Gets the revision.Gets the serialized metadata.Gets the serialized payload.inthashCode()voidsetPayloadClass(String payloadClass) Sets the payload class.voidsetRevision(String revision) Sets the revision.voidsetSerializedMetadata(String serializedMetadata) Sets the serialized metadata.voidsetSerializedPayload(String serializedPayload) Sets the serialized payload.toString()
-
Constructor Details
-
DbSchedulerHumanReadableEventData
public DbSchedulerHumanReadableEventData(String serializedPayload, String payloadClass, String revision, String serializedMetadata) Crates a newDbSchedulerHumanReadableEventDatawith all the fields set.
-
-
Method Details
-
getSerializedPayload
Gets the serialized payload.- Returns:
- the payload as
String
-
setSerializedPayload
Sets the serialized payload.- Parameters:
serializedPayload- asString
-
getPayloadClass
Gets the payload class.- Returns:
- the payload class as
String
-
setPayloadClass
Sets the payload class.- Parameters:
payloadClass- asString
-
getRevision
Gets the revision.- Returns:
- the revision as
String
-
setRevision
Sets the revision.- Parameters:
revision- asString
-
getSerializedMetadata
Gets the serialized metadata.- Returns:
- the serialized meta data as
String
-
setSerializedMetadata
Sets the serialized metadata.- Parameters:
serializedMetadata- asString
-
toString
-
hashCode
public int hashCode() -
equals
-