File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
rewrite-core/src/main/java/org/openrewrite/table Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 16
16
package org .openrewrite .table ;
17
17
18
18
import lombok .Value ;
19
+ import org .openrewrite .Column ;
19
20
import org .openrewrite .DataTable ;
20
21
import org .openrewrite .Recipe ;
21
22
@@ -31,9 +32,17 @@ public CommitsByDay(Recipe recipe) {
31
32
32
33
@ Value
33
34
public static class Row {
35
+ @ Column (displayName = "Name" ,
36
+ description = "The name of the committer." )
34
37
String name ;
38
+ @ Column (displayName = "Email" ,
39
+ description = "The email of the committer." )
35
40
String email ;
41
+ @ Column (displayName = "Date" ,
42
+ description = "The date of the day." )
36
43
LocalDate day ;
44
+ @ Column (displayName = "Number of commits" ,
45
+ description = "The number of commits made by this committer on this day." )
37
46
int commits ;
38
47
}
39
48
}
Original file line number Diff line number Diff line change 16
16
package org .openrewrite .table ;
17
17
18
18
import lombok .Value ;
19
+ import org .openrewrite .Column ;
19
20
import org .openrewrite .DataTable ;
20
21
import org .openrewrite .Recipe ;
21
22
@@ -31,9 +32,17 @@ public DistinctCommitters(Recipe recipe) {
31
32
32
33
@ Value
33
34
public static class Row {
35
+ @ Column (displayName = "Name" ,
36
+ description = "The name of the committer." )
34
37
String name ;
38
+ @ Column (displayName = "Email" ,
39
+ description = "The email of the committer." )
35
40
String email ;
41
+ @ Column (displayName = "Last commit" ,
42
+ description = "The date of this committer's last commit." )
36
43
LocalDate lastCommit ;
44
+ @ Column (displayName = "Number of commits" ,
45
+ description = "The number of commits made by this committer." )
37
46
int commits ;
38
47
}
39
48
}
You can’t perform that action at this time.
0 commit comments