Package com.suse.coco.modules
Interface AttestationModule
-
public interface AttestationModuleA component that can verifyAttestationResultand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<java.lang.String>getAdditionalMappers()Additional Mybatis mappers needed by this attestation module.java.lang.StringgetName()Retrieves the name of the attestation moduleintgetSupportedType()Retrieves attestation result type that this module is able to verify.AttestationWorkergetWorker()Builds a worker to processAttestationResult
-
-
-
Method Detail
-
getName
java.lang.String getName()
Retrieves the name of the attestation module- Returns:
- the unique name of this module
-
getSupportedType
int getSupportedType()
Retrieves attestation result type that this module is able to verify. Please refer to uyuni codebase, class com/suse/manager/model/attestation/CoCoResultType.java for a list of possible values- Returns:
- the supported result type
-
getWorker
AttestationWorker getWorker()
Builds a worker to processAttestationResult- Returns:
- a new instance of
AttestationWorker
-
getAdditionalMappers
default java.util.List<java.lang.String> getAdditionalMappers()
Additional Mybatis mappers needed by this attestation module.- Returns:
- a list of resources processable by
ClassLoader.getSystemResource(String)
-
-