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 aQuartzJobAndTriggerWrapper
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.org.quartz.JobDetail
Returns the value of thejobDetail
record component.final String
toString()
Returns a string representation of this record class.org.quartz.Trigger
trigger()
Returns the value of thetrigger
record component.org.quartz.Trigger.TriggerState
Returns the value of thetriggerState
record component.
-
Constructor Details
-
QuartzJobAndTriggerWrapper
public QuartzJobAndTriggerWrapper(org.quartz.JobDetail jobDetail, org.quartz.Trigger trigger, org.quartz.Trigger.TriggerState triggerState) Creates an instance of aQuartzJobAndTriggerWrapper
record class.- Parameters:
jobDetail
- the value for thejobDetail
record componenttrigger
- the value for thetrigger
record componenttriggerState
- the value for thetriggerState
record 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 thejobDetail
record component.- Returns:
- the value of the
jobDetail
record component
-
trigger
public org.quartz.Trigger trigger()Returns the value of thetrigger
record component.- Returns:
- the value of the
trigger
record component
-
triggerState
public org.quartz.Trigger.TriggerState triggerState()Returns the value of thetriggerState
record component.- Returns:
- the value of the
triggerState
record component
-