Class DeadlineDetails
java.lang.Object
org.axonframework.deadline.jobrunr.DeadlineDetails
Wraps the details of a deadline scheduled through the
JobRunrDeadlineManager: the deadline's name, and its
scope descriptor, payload and metadata in their stored form. The details are themselves converted into a
String, which JobRunr stores as the argument of the job that fires the deadline.
The field names are those of Axon Framework 4.13, so that both versions read each other's jobs.
- Since:
- 4.7.0
- Author:
- Tom de Backer, Gerard Klijs
-
Constructor Summary
ConstructorsConstructorDescriptionDeadlineDetails(String deadlineName, String scopeDescriptor, String scopeDescriptorClass, @Nullable String payload, @Nullable String payloadClass, @Nullable String payloadRevision, @Nullable String metaData) Creates a newDeadlineDetailsobject from the stored form of a deadline's parts. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the deadline.@Nullable StringReturns the stored metadata of the deadline.@Nullable StringReturns the stored payload of the deadline.@Nullable StringReturns the type name of the payload of the deadline.@Nullable StringReturns the revision of the payload type of the deadline.Returns the storedScopeDescriptorof the deadline.Returns the class name of theScopeDescriptorof the deadline.
-
Constructor Details
-
DeadlineDetails
public DeadlineDetails(String deadlineName, String scopeDescriptor, String scopeDescriptorClass, @Nullable String payload, @Nullable String payloadClass, @Nullable String payloadRevision, @Nullable String metaData) Creates a newDeadlineDetailsobject from the stored form of a deadline's parts.- Parameters:
deadlineName- the name of the deadlinescopeDescriptor- the storedScopeDescriptordescribing the scope of the deadlinescopeDescriptorClass- the class name of theScopeDescriptorpayload- the stored payload of the deadline, if anypayloadClass- the type name of the payloadpayloadRevision- the revision of the payload type, if anymetaData- the stored metadata of the deadline
-
-
Method Details
-
getDeadlineName
Returns the name of the deadline.- Returns:
- the name of the deadline
-
getScopeDescriptor
Returns the storedScopeDescriptorof the deadline.- Returns:
- the stored
ScopeDescriptorof the deadline
-
getScopeDescriptorClass
Returns the class name of theScopeDescriptorof the deadline.- Returns:
- the class name of the
ScopeDescriptorof the deadline
-
getPayload
Returns the stored payload of the deadline.- Returns:
- the stored payload of the deadline, if any
-
getPayloadClass
Returns the type name of the payload of the deadline.- Returns:
- the type name of the payload of the deadline
-
getPayloadRevision
Returns the revision of the payload type of the deadline.- Returns:
- the revision of the payload type of the deadline, if any
-
getMetaData
Returns the stored metadata of the deadline.- Returns:
- the stored metadata of the deadline
-