File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
src/main/java/org/audit4j/core Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 29
29
import org .audit4j .core .dto .Field ;
30
30
31
31
/**
32
- * The Class AnnotationTransformer.
32
+ * The Class AnnotationTransformer use to transform annotation information in to
33
+ * simple audit event.
33
34
*
34
35
* @author <a href="mailto:[email protected] ">Janith Bandara</a>
35
36
*
@@ -39,22 +40,22 @@ public class AnnotationTransformer {
39
40
40
41
/** The audit attributes. */
41
42
private final AuditAnnotationAttributes auditAttributes ;
42
-
43
+
43
44
/** The ignore attributes. */
44
45
private final IgnoreAuditAnnotationAttributes ignoreAttributes ;
45
-
46
+
46
47
/** The field attributes. */
47
48
private final AuditFieldAnnotationAttribute fieldAttributes ;
48
-
49
+
49
50
/**
50
51
* Instantiates a new annotation transformer.
51
52
*/
52
- public AnnotationTransformer (){
53
+ public AnnotationTransformer () {
53
54
auditAttributes = new AuditAnnotationAttributes ();
54
55
ignoreAttributes = new IgnoreAuditAnnotationAttributes ();
55
56
fieldAttributes = new AuditFieldAnnotationAttribute ();
56
57
}
57
-
58
+
58
59
/**
59
60
* Transform annotation informations to Audit Event object.
60
61
*
@@ -102,7 +103,7 @@ public AuditEvent transformToEvent(AnnotationAuditEvent annotationEvent) {
102
103
event .setActor (annotationEvent .getActor ());
103
104
event .setOrigin (annotationEvent .getOrigin ());
104
105
}
105
-
106
+
106
107
return event ;
107
108
}
108
109
}
You can’t perform that action at this time.
0 commit comments