package com.perforce.common.journal;
import com.perforce.common.ConverterException;
import com.perforce.common.schema.JournalRecord;
public class BuildCounter {
public static String toJournal(String key, String value)
throws ConverterException {
StringBuffer sb = new StringBuffer();
JournalRecord dbCounters = new JournalRecord("rv", "db.counters", 1);
dbCounters.addField("name", key);
dbCounters.addField("value", value);
sb.append(dbCounters.toJournalString() + "\n");
return sb.toString();
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
13876 |
Paul Allen |
Rename/move file(s) |
|
|
//guest/paul_allen/p4convert-maven/src/com/perforce/common/journal/BuildCounter.java |
#1
|
13873 |
Paul Allen |
Branching using p4convert-maven |
|
|
//guest/perforce_software/p4convert/src/com/perforce/common/journal/BuildCounter.java |
#1
|
9807 |
Paul Allen |
Initial import of p4-convert (from change 894340) |
|
|