Package systextil.bo.inte.gra
Record Class ResumoCiclo.LinhaErro
java.lang.Object
java.lang.Record
systextil.bo.inte.gra.ResumoCiclo.LinhaErro
- Enclosing class:
ResumoCiclo
public static record ResumoCiclo.LinhaErro(String tipo, int quantidade, String detalhe)
extends Record
Linha do e-mail: o tipo, quantos com erro e o detalhe (ex.: "tentativas esgotadas").
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetalhe()Returns the value of thedetalherecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thequantidaderecord component.tipo()Returns the value of thetiporecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LinhaErro
Creates an instance of aLinhaErrorecord class.- Parameters:
tipo- the value for thetiporecord componentquantidade- the value for thequantidaderecord componentdetalhe- the value for thedetalherecord 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 '=='. -
tipo
Returns the value of thetiporecord component.- Returns:
- the value of the
tiporecord component
-
quantidade
public int quantidade()Returns the value of thequantidaderecord component.- Returns:
- the value of the
quantidaderecord component
-
detalhe
Returns the value of thedetalherecord component.- Returns:
- the value of the
detalherecord component
-