Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.logging.progress
Class ProgressLogRecord

java.lang.Object
  extended by java.util.logging.LogRecord
      extended by de.lmu.ifi.dbs.elki.logging.ELKILogRecord
          extended by de.lmu.ifi.dbs.elki.logging.progress.ProgressLogRecord
All Implemented Interfaces:
Serializable

public class ProgressLogRecord
extends ELKILogRecord

Log record for progress messages.

Author:
Erich Schubert
See Also:
Serialized Form

Field Summary
private  Progress progress
          Progress storage
private static long serialVersionUID
          Serial version
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.ELKILogRecord
IGNORE_CLASSES
 
Constructor Summary
ProgressLogRecord(Level level, Progress progress)
          Constructor for progress log messages.
 
Method Summary
 String getMessage()
          Generate the message only when needed.
 Progress getProgress()
          Get the objects progress.
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.ELKILogRecord
getSourceClassName, getSourceMethodName, setSourceClassName, setSourceMethodName
 
Methods inherited from class java.util.logging.LogRecord
getLevel, getLoggerName, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getThreadID, getThrown, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setThreadID, setThrown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version

See Also:
Constant Field Values

progress

private final Progress progress
Progress storage

Constructor Detail

ProgressLogRecord

public ProgressLogRecord(Level level,
                         Progress progress)
Constructor for progress log messages.

Parameters:
level - Logging level
progress - Progress to log
Method Detail

getProgress

public Progress getProgress()
Get the objects progress.

Returns:
the progress

getMessage

public String getMessage()
Generate the message only when needed.

Overrides:
getMessage in class LogRecord

Release 0.3 (2010-03-31_1612)