Class AuditRequestFactory
- java.lang.Object
-
- io.mosip.authentication.common.service.factory.AuditRequestFactory
-
@Component public class AuditRequestFactory extends Object
A factory for creating and building AuditRequest objects from properties- Author:
- Manoj SP
-
-
Constructor Summary
Constructors Constructor Description AuditRequestFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.mosip.kernel.core.http.RequestWrapper<AuditRequestDto>buildRequest(AuditModules module, AuditEvents event, String id, IdType idType, String desc)Builds the request.io.mosip.kernel.core.http.RequestWrapper<AuditRequestDto>buildRequest(AuditModules module, AuditEvents event, String id, String idType, String desc)Builds the request.
-
-
-
Method Detail
-
buildRequest
public io.mosip.kernel.core.http.RequestWrapper<AuditRequestDto> buildRequest(AuditModules module, AuditEvents event, String id, IdType idType, String desc)
Builds the request.- Parameters:
module- the moduleevent- the eventid- the ididType- the id type enumdesc- the desc- Returns:
- the audit request dto
-
buildRequest
public io.mosip.kernel.core.http.RequestWrapper<AuditRequestDto> buildRequest(AuditModules module, AuditEvents event, String id, String idType, String desc)
Builds the request.- Parameters:
module- the moduleevent- the eventid- the ididType- the id type namedesc- the desc- Returns:
- the audit request dto
-
-