Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0005876: Added job history dialog to Manage Jobs screen
- Loading branch information
1 parent
53e3d70
commit 3315e15
Showing
5 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
symmetric-core/src/main/java/org/jumpmind/symmetric/statistic/JobStatsByPeriodMap.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.jumpmind.symmetric.statistic; | ||
|
||
import java.util.Date; | ||
import java.util.List; | ||
|
||
public class JobStatsByPeriodMap extends AbstractStatsByPeriodMap<JobStats, JobStats> { | ||
private static final long serialVersionUID = 1L; | ||
|
||
public JobStatsByPeriodMap(Date start, Date end, List<JobStats> list, int periodSizeInMinutes) { | ||
super(start, end, list, periodSizeInMinutes); | ||
} | ||
|
||
@Override | ||
protected void add(Date periodStart, JobStats stat) { | ||
put(periodStart, stat); | ||
} | ||
|
||
@Override | ||
protected void addBlank(Date periodStart) { | ||
put(periodStart, new JobStats()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters