Record Class AuthAttempt.Failure.Stacktrace
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.auth.messages.AuthAttempt.Failure.Stacktrace
- Enclosing class:
- AuthAttempt.Failure
-
Constructor Summary
ConstructorsConstructorDescriptionStacktrace
(String className, String methodName, String fileName, int lineNumber) Creates an instance of aStacktrace
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassName
record component.final boolean
Indicates whether some other object is "equal to" this one.fileName()
Returns the value of thefileName
record component.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of thelineNumber
record component.Returns the value of themethodName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Stacktrace
Creates an instance of aStacktrace
record class.- Parameters:
className
- the value for theclassName
record componentmethodName
- the value for themethodName
record componentfileName
- the value for thefileName
record componentlineNumber
- the value for thelineNumber
record component
-
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
className
Returns the value of theclassName
record component.- Returns:
- the value of the
className
record component
-
methodName
Returns the value of themethodName
record component.- Returns:
- the value of the
methodName
record component
-
fileName
Returns the value of thefileName
record component.- Returns:
- the value of the
fileName
record component
-
lineNumber
public int lineNumber()Returns the value of thelineNumber
record component.- Returns:
- the value of the
lineNumber
record component
-