Class DefaultAuditMetadataProvider
java.lang.Object
org.openehealth.ipf.commons.audit.DefaultAuditMetadataProvider
- All Implemented Interfaces:
AuditMetadataProvider
Default implementation, using the current host name, process ID, timestamp and "IPF" and sending application.
Using the setters you can assign custom values.
-
Field Summary
Fields inherited from interface org.openehealth.ipf.commons.audit.AuditMetadataProvider
DEFAULT
-
Constructor Summary
ConstructorDescriptionDefaultAuditMetadataProvider
(String hostName, String processID, String sendingApplication, String timestamp) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setHostName
(String hostName) void
setPrecision
(TemporalUnit precision) void
setProcessID
(String processID) void
setSendingApplication
(String sendingApplication) void
setTimestamp
(String timestamp)
-
Constructor Details
-
DefaultAuditMetadataProvider
public DefaultAuditMetadataProvider() -
DefaultAuditMetadataProvider
-
-
Method Details
-
setSendingApplication
- Specified by:
setSendingApplication
in interfaceAuditMetadataProvider
-
setHostName
-
setProcessID
-
setPrecision
-
setTimestamp
-
getTimestamp
- Specified by:
getTimestamp
in interfaceAuditMetadataProvider
-
getHostname
- Specified by:
getHostname
in interfaceAuditMetadataProvider
-
getSendingApplication
- Specified by:
getSendingApplication
in interfaceAuditMetadataProvider
-
getProcessID
- Specified by:
getProcessID
in interfaceAuditMetadataProvider
-