Package pulse.tasks.logs
Class AbstractLogger
- java.lang.Object
-
- pulse.tasks.logs.AbstractLogger
-
- All Implemented Interfaces:
Serializable,Descriptive
- Direct Known Subclasses:
GraphicalLogPane,TextLogPane
public abstract class AbstractLogger extends Object implements Descriptive, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractLogger()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcallUpdate()abstract voidclear()Stringdescribe()Creates aString'describing' this object, usually for exporting purposes.abstract JComponentgetGUIComponent()ExecutorServicegetUpdateExecutor()abstract booleanisEmpty()abstract voidpost(String text)abstract voidpost(LogEntry logEntry)voidpostAll()abstract voidprintTimeTaken(Log log)voidupdate()
-
-
-
Method Detail
-
update
public void update()
-
getUpdateExecutor
public ExecutorService getUpdateExecutor()
-
callUpdate
public void callUpdate()
-
postAll
public void postAll()
-
describe
public String describe()
Description copied from interface:DescriptiveCreates aString'describing' this object, usually for exporting purposes.- Specified by:
describein interfaceDescriptive- Returns:
- by default, this will return the name of the implementing class and the date of the calculation.
-
getGUIComponent
public abstract JComponent getGUIComponent()
-
printTimeTaken
public abstract void printTimeTaken(Log log)
-
post
public abstract void post(LogEntry logEntry)
-
post
public abstract void post(String text)
-
clear
public abstract void clear()
-
isEmpty
public abstract boolean isEmpty()
-
-