Class DbSchedulerHumanReadableEventData

java.lang.Object
org.axonframework.eventhandling.scheduling.dbscheduler.DbSchedulerHumanReadableEventData
All Implemented Interfaces:
Serializable

public class DbSchedulerHumanReadableEventData extends Object implements 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 Details

    • DbSchedulerHumanReadableEventData

      public DbSchedulerHumanReadableEventData(String serializedPayload, String payloadClass, String revision, String serializedMetadata)
      Crates a new DbSchedulerHumanReadableEventData with all the fields set.
      Parameters:
      serializedPayload - The String with the payload.
      payloadClass - The String which tells what the class of the scope payload is.
      revision - The String with the revision value of the payload.
      serializedMetadata - The String containing the metadata about the deadline.
  • Method Details

    • getSerializedPayload

      public String getSerializedPayload()
      Gets the serialized payload.
      Returns:
      the payload as String
    • setSerializedPayload

      public void setSerializedPayload(String serializedPayload)
      Sets the serialized payload.
      Parameters:
      serializedPayload - as String
    • getPayloadClass

      public String getPayloadClass()
      Gets the payload class.
      Returns:
      the payload class as String
    • setPayloadClass

      public void setPayloadClass(String payloadClass)
      Sets the payload class.
      Parameters:
      payloadClass - as String
    • getRevision

      public String getRevision()
      Gets the revision.
      Returns:
      the revision as String
    • setRevision

      public void setRevision(String revision)
      Sets the revision.
      Parameters:
      revision - as String
    • getSerializedMetadata

      public String getSerializedMetadata()
      Gets the serialized metadata.
      Returns:
      the serialized meta data as String
    • setSerializedMetadata

      public void setSerializedMetadata(String serializedMetadata)
      Sets the serialized metadata.
      Parameters:
      serializedMetadata - as String
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object