package journal.action; import journal.reader.DeleteJournalEntry; import journal.reader.DataJournalEntry; import journal.reader.NoteJournalEntry; import journal.reader.TransactionJournalEntry; public class JournalAction extends BaseAction { @Override public void commitMarker(TransactionJournalEntry entry) { out.println(entry.toJournalString()); } @Override public void deleteValue(DataJournalEntry entry) { out.println(entry.toJournalString()); } @Override public void flushMarker(TransactionJournalEntry entry) { out.println(entry.toJournalString()); } @Override public void putValue(DataJournalEntry entry) { out.println(entry.toJournalString()); } @Override public void replaceValue(DataJournalEntry entry) { out.println(entry.toJournalString()); } @Override public void verifyValue(DataJournalEntry entry) { out.println(entry.toJournalString()); } @Override public void journalMarker(NoteJournalEntry entry) { out.println(entry.toJournalString()); } @Override public void deleteMarker(DeleteJournalEntry entry) { out.println(entry.toJournalString()); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 24773 | Norman Morse |
Moving journalReader from sven's private branch to perforce_software. This is because journalReader is used in the perfsplit test harness, and should be updated over time. Merging //guest/sven_erik_knop/java/JournalReader/... to //guest/perforce_software/journalReader/... |
||
//guest/sven_erik_knop/java/JournalReader/src/journal/action/JournalAction.java | |||||
#4 | 8296 | Sven Erik Knop |
Clean-up: instead of casting in every action, cast only once in the dispatcher. Should make code saner and safer. No functional change. |
||
#3 | 8200 | Sven Erik Knop |
JournalReader can now process delete records (@dl@). Also fixed processing of type 12 note records = journaldbchecksum |
||
#2 | 7874 | Sven Erik Knop | Upgrade to 2010.2 including new JournalNotes. | ||
#1 | 7592 | Sven Erik Knop | Yet another missing file from the JournalREader | ||
//guest/sven_erik_knop/JournalReader/src/journal/action/JournalAction.java | |||||
#2 | 7375 | Sven Erik Knop |
Major update of the JournalReader. Complete rewrite of the command line parsing Change in the options parsing within the journal reader New SQLLoader action. Currently only against MySQL (needs MySQL JDBC driver) with fixed database and user name. This will be replaced by a config file at some stage. |
||
#1 | 7374 | Sven Erik Knop | Rename/move file(s) - correct location for Eclipse project | ||
//guest/sven_erik_knop/JournalReader/journal/action/JournalAction.java | |||||
#1 | 6467 | Sven Erik Knop |
Added JournalReader, a Java library of useful tools to read and process checkpoints and journals. Added are a readme.txt to explain some details, and a jar file that contains the compiled class files. The programs will need Java 1.6 to run. |