Class DbSchedulerBinaryEventData

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

public class DbSchedulerBinaryEventData 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#binaryTask()
Since:
4.8.0
Author:
Gerard Klijs
See Also:
  • Constructor Details

    • DbSchedulerBinaryEventData

      public DbSchedulerBinaryEventData(byte[] serializedPayload, String payloadClass, String revision, byte[] serializedMetadata)
      Crates a new DbSchedulerHumanReadableEventData with all the fields set.
      Parameters:
      serializedPayload - The byte[] 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 byte[] containing the metadata about the deadline.
  • Method Details

    • getP

      public byte[] getP()
      Gets the serialized payload.
      Returns:
      the payload as String
    • setP

      public void setP(byte[] p)
      Sets the serialized payload.
      Parameters:
      p - as String
    • getC

      public String getC()
      Gets the payload class.
      Returns:
      the payload class as String
    • setC

      public void setC(String c)
      Sets the payload class.
      Parameters:
      c - as String
    • getR

      public String getR()
      Gets the revision.
      Returns:
      the revision as String
    • setR

      public void setR(String r)
      Sets the revision.
      Parameters:
      r - as String
    • getM

      public byte[] getM()
      Gets the serialized metadata.
      Returns:
      the serialized meta data as String
    • setM

      public void setM(byte[] m)
      Sets the serialized metadata.
      Parameters:
      m - 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