Record Class ValidateList
java.lang.Object
java.lang.Record
br.ufsc.labsec.signature.conformanceVerifier.validationService.trustedList.steps.ValidateList
- All Implemented Interfaces:
TrustedListResponsibilityChain
public record ValidateList(TrustedListContext context)
extends Record
implements TrustedListResponsibilityChain
-
Constructor Summary
ConstructorsConstructorDescriptionValidateList(TrustedListContext context) Creates an instance of aValidateListrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.voidexecute()Valida e constroi um relatório para TLs.final inthashCode()Returns a hash code value for this object.booleanhasNext()nextStep()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ValidateList
Creates an instance of aValidateListrecord class.- Parameters:
context- the value for thecontextrecord component
-
-
Method Details
-
nextStep
- Specified by:
nextStepin interfaceTrustedListResponsibilityChain
-
execute
Valida e constroi um relatório para TLs.- Specified by:
executein interfaceTrustedListResponsibilityChain- Throws:
IOException- caso haja algum problema na leitura da lista.TrustedListException- caso haja algum problema na validação da lista.
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceTrustedListResponsibilityChain
-
getTrustPointResult
- Specified by:
getTrustPointResultin interfaceTrustedListResponsibilityChain
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-