Record Class PushCredentialsFile.Diagnostic
java.lang.Object
java.lang.Record
com.iizix.server.push.engine.http.PushCredentialsFile.Diagnostic
- Record Components:
level-ILog.SEVEREorILog.WARNING.line- The 1-based line number, 0 when the message concerns the whole file.message- The message, with the file name and the line number already in it.
- Enclosing class:
PushCredentialsFile
Constructor Summary
ConstructorsConstructorDescriptionDiagnostic(int level, int line, String message) Creates an instance of aDiagnosticrecord 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.booleanisSevere()Tells whether this is a refusal.intlevel()Returns the value of thelevelrecord component.intline()Returns the value of thelinerecord component.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
Constructor Details
Diagnostic
Method Details
isSevere
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes.level
line
message