|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrdr.core.Log
public class Log
Logging class. Includes support to log the users actions performed on a given domain, for evaluation and analysis.
| Field Summary | |
|---|---|
java.lang.String |
domainName
|
common.datastructures.MyFastVector<LogEntry> |
entries
|
| Constructor Summary | |
|---|---|
Log(DomainModel domain)
Constructor |
|
Log(DomainModel domain,
int ignore)
Constructor that makes a brand new log |
|
| Method Summary | |
|---|---|
void |
addEntry(LogEntry entry)
Add an entry into the log |
common.datastructures.MyFastVector<LogEntry> |
getEntries()
|
Log |
loadLog(DomainModel domainModel)
Loads the log file for domainModel if possible, or creates a new one. |
Log |
loadLog(DomainModel domainModel,
java.lang.String classifierType)
Loads the log file for domainModel if possible, or creates a new one. |
void |
saveLog()
Save the log to file |
void |
saveLogAs(java.lang.String prefix)
Save log to file... |
void |
saveLogCSV()
Save the log to comma separated file for viewing in excel or similar Warning: Some detail will be lost using this approach. |
void |
setSaveFrequency(int num)
Sets the log to save every num entries |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public common.datastructures.MyFastVector<LogEntry> entries
public java.lang.String domainName
| Constructor Detail |
|---|
public Log(DomainModel domain)
domain - the domain model you're opening a log file for
public Log(DomainModel domain,
int ignore)
domain - the domain model you're opening a log file forignore - just a dodgy way of forcing it to make a new log file.| Method Detail |
|---|
public void addEntry(LogEntry entry)
entry - public Log loadLog(DomainModel domainModel)
domainModel -
public Log loadLog(DomainModel domainModel,
java.lang.String classifierType)
domainModel - classifierType -
public void saveLogAs(java.lang.String prefix)
prefix - public void saveLog()
public void saveLogCSV()
public void setSaveFrequency(int num)
num - public common.datastructures.MyFastVector<LogEntry> getEntries()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||