java.lang.Object
java.lang.Record
org.jpo.eventbus.CheckForUpdatesRequest
- Record Components:
- forceCheck- set to true if the check should bypass the snooze period check and the neverCheck flag
This request asks the handler to check whether there is a new version of
 the application available. If so it presents a dialog box offering to take
 the user to the download website. The alerts can be snoozed for a fortnight
 or can be turned off.
- 
Constructor SummaryConstructorsConstructorDescriptionCheckForUpdatesRequest(boolean forceCheck) Creates an instance of aCheckForUpdatesRequestrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theforceCheckrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
CheckForUpdatesRequestpublic CheckForUpdatesRequest(boolean forceCheck) Creates an instance of aCheckForUpdatesRequestrecord class.- Parameters:
- forceCheck- the value for the- forceCheckrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 with '=='.
- 
forceCheckpublic boolean forceCheck()Returns the value of theforceCheckrecord component.- Returns:
- the value of the forceCheckrecord component
 
 
-