Record Class QuartzJobAndTriggerWrapper
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.scheduler.quartz.QuartzJobAndTriggerWrapper
public record QuartzJobAndTriggerWrapper(org.quartz.JobDetail jobDetail, org.quartz.Trigger trigger, org.quartz.Trigger.TriggerState triggerState)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionQuartzJobAndTriggerWrapper(org.quartz.JobDetail jobDetail, org.quartz.Trigger trigger, org.quartz.Trigger.TriggerState triggerState) Creates an instance of aQuartzJobAndTriggerWrapperrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.quartz.JobDetailReturns the value of thejobDetailrecord component.final StringtoString()Returns a string representation of this record class.org.quartz.Triggertrigger()Returns the value of thetriggerrecord component.org.quartz.Trigger.TriggerStateReturns the value of thetriggerStaterecord component.
-
Constructor Details
-
QuartzJobAndTriggerWrapper
public QuartzJobAndTriggerWrapper(org.quartz.JobDetail jobDetail, org.quartz.Trigger trigger, org.quartz.Trigger.TriggerState triggerState) Creates an instance of aQuartzJobAndTriggerWrapperrecord class.- Parameters:
jobDetail- the value for thejobDetailrecord componenttrigger- the value for thetriggerrecord componenttriggerState- the value for thetriggerStaterecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
jobDetail
public org.quartz.JobDetail jobDetail()Returns the value of thejobDetailrecord component.- Returns:
- the value of the
jobDetailrecord component
-
trigger
public org.quartz.Trigger trigger()Returns the value of thetriggerrecord component.- Returns:
- the value of the
triggerrecord component
-
triggerState
public org.quartz.Trigger.TriggerState triggerState()Returns the value of thetriggerStaterecord component.- Returns:
- the value of the
triggerStaterecord component
-