public class DbSchedulerHumanReadableDeadlineDetails extends Object implements Serializable
Task handling a deadline. Will be
 serialized and deserialized using the configured Serializer on the
 Scheduler. This object is used with the
 DbSchedulerDeadlineManager#humanReadableTask().| Constructor and Description | 
|---|
| DbSchedulerHumanReadableDeadlineDetails(String deadlineName,
                                       String scopeDescriptor,
                                       String scopeDescriptorClass,
                                       String payload,
                                       String payloadClass,
                                       String payloadRevision,
                                       String metaData)Creates a new  DbSchedulerHumanReadableDeadlineDetailsobject, likely based on aDeadlineMessage. | 
| Modifier and Type | Method and Description | 
|---|---|
| GenericDeadlineMessage | asDeadLineMessage(Serializer serializer)Returns the  DbSchedulerHumanReadableDeadlineDetailsas anGenericDeadlineMessage, with the
  timestamp set using theGenericEventMessage.clock. | 
| boolean | equals(Object obj) | 
| String | getDeadlineName()Returns the  Stringwith the name of the deadline. | 
| ScopeDescriptor | getDeserializedScopeDescriptor(Serializer serializer)Returns the serialized  ScopeDescriptorusing the suppliedSerializer. | 
| String | getMetaData()Returns the  Stringcontaining the metadata about the deadline. | 
| String | getPayload()Returns the serialized  Stringof the payload. | 
| String | getPayloadClass()Returns the  Stringwith the class of the payload. | 
| String | getPayloadRevision()Returns the  Stringwith the revision of the payload. | 
| String | getScopeDescriptor()Returns the serialized  Stringwhich tells what the scope is of the deadline. | 
| String | getScopeDescriptorClass()Returns the  Stringwith the class of the scope descriptor. | 
| int | hashCode() | 
| String | toString() | 
public DbSchedulerHumanReadableDeadlineDetails(@Nonnull String deadlineName, @Nonnull String scopeDescriptor, @Nonnull String scopeDescriptorClass, @Nullable String payload, @Nullable String payloadClass, @Nullable String payloadRevision, @Nullable String metaData)
DbSchedulerHumanReadableDeadlineDetails object, likely based on a DeadlineMessage.deadlineName - The String with the name of the deadline.scopeDescriptor - The String which tells what the scope is of the deadline.scopeDescriptorClass - The String which tells what the class of the scope descriptor is.payload - The String with the payload. This can be null.payloadClass - The String which tells what the class of the scope payload is.payloadRevision - The String which tells what the revision of the scope payload is.metaData - The String containing the metadata about the deadline. This can be null.public String getDeadlineName()
String with the name of the deadline.String with the name of the deadline.public String getScopeDescriptor()
String which tells what the scope is of the deadline.String which tells what the scope is of the deadline.public String getScopeDescriptorClass()
String with the class of the scope descriptor.String with the class of the scope descriptor.public String getPayload()
String of the payload. This can be null.String of the payload. This can be null.public String getPayloadClass()
String with the class of the payload. This can be null.String with the class of the payload. This can be null.public String getPayloadRevision()
String with the revision of the payload. This can be null.String with the revision of the payload. This can be null.public String getMetaData()
String containing the metadata about the deadline.String containing the metadata about the deadline.public GenericDeadlineMessage asDeadLineMessage(Serializer serializer)
DbSchedulerHumanReadableDeadlineDetails as an GenericDeadlineMessage, with the
  timestamp set using the GenericEventMessage.clock.GenericDeadlineMessage with all the properties of this pojo, and a timestamp.public ScopeDescriptor getDeserializedScopeDescriptor(Serializer serializer)
ScopeDescriptor using the supplied Serializer. This will be an instance of
 the scopeDescriptorClass property.ScopeDescriptor that is serialized using the supplied Serializer.Copyright © 2010–2025. All rights reserved.