Package me.ehp246.aufjms.api.dispatch
Record Class EnableByJmsConfig
java.lang.Object
java.lang.Record
me.ehp246.aufjms.api.dispatch.EnableByJmsConfig
public record EnableByJmsConfig(List<Class<?>> scan, Duration ttl, Duration delay, List<String> dispatchFns, At requestReplyAt)
extends Record
- Since:
- 1.0
- Author:
- Lei Yang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelay()Returns the value of thedelayrecord component.Returns the value of thedispatchFnsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therequestReplyAtrecord component.scan()Returns the value of thescanrecord component.final StringtoString()Returns a string representation of this record class.ttl()Returns the value of thettlrecord component.
-
Constructor Details
-
EnableByJmsConfig
public EnableByJmsConfig(List<Class<?>> scan, Duration ttl, Duration delay, List<String> dispatchFns, At requestReplyAt) Creates an instance of aEnableByJmsConfigrecord class.- Parameters:
scan- the value for thescanrecord componentttl- the value for thettlrecord componentdelay- the value for thedelayrecord componentdispatchFns- the value for thedispatchFnsrecord componentrequestReplyAt- the value for therequestReplyAtrecord component
-
EnableByJmsConfig
public EnableByJmsConfig()
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
scan
Returns the value of thescanrecord component.- Returns:
- the value of the
scanrecord component
-
ttl
Returns the value of thettlrecord component.- Returns:
- the value of the
ttlrecord component
-
delay
Returns the value of thedelayrecord component.- Returns:
- the value of the
delayrecord component
-
dispatchFns
Returns the value of thedispatchFnsrecord component.- Returns:
- the value of the
dispatchFnsrecord component
-
requestReplyAt
Returns the value of therequestReplyAtrecord component.- Returns:
- the value of the
requestReplyAtrecord component
-