A C D G H I L M N O P R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addIncludesOnly(String) - Method in class org.powertac.logtool.common.DomainObjectReader
-
Adds classname to list of classes to be included by this reader, after first ensuring that it's not in the ignores list
- Analyzer - Interface in org.powertac.logtool.ifc
-
Interface for analyzers
C
- cli(String, Analyzer) - Method in class org.powertac.logtool.LogtoolContext
-
default command-line processor.
- close() - Method in interface org.powertac.logtool.ifc.ObjectReader
-
Closes the underlying stream.
- context - Variable in class org.powertac.logtool.LogtoolContext
- core - Variable in class org.powertac.logtool.LogtoolContext
D
- df - Variable in class org.powertac.logtool.LogtoolContext
- DomainBuilder - Class in org.powertac.logtool.common
-
An analyzer that populates repos, including brokers, tariffs, orderbooks, timeslots, and customers
- DomainBuilder() - Constructor for class org.powertac.logtool.common.DomainBuilder
- DomainObjectReader - Class in org.powertac.logtool.common
-
Processor for state log entries; creates domain object instances, stores them in repositories as well as in a master repo indexed by id value.
- DomainObjectReader() - Constructor for class org.powertac.logtool.common.DomainObjectReader
-
Default constructor
- dor - Variable in class org.powertac.logtool.LogtoolContext
G
- getBean(String) - Method in class org.powertac.logtool.LogtoolContext
-
Retrieves a Spring component instance by name
- getById(long) - Method in class org.powertac.logtool.common.DomainObjectReader
- getContext() - Method in class org.powertac.logtool.LogtoolContext
-
Return the ApplicationContext
- getCore() - Method in class org.powertac.logtool.LogtoolContext
-
Returns LogtoolCore instance
- getDomainObjectReader() - Method in class org.powertac.logtool.LogtoolContext
-
Returns DomainObjectReader instance
- getDOR() - Method in class org.powertac.logtool.LogtoolCore
- getInstantiate() - Method in class org.powertac.logtool.common.DomainObjectReader
- getLogStream(InputStream) - Method in class org.powertac.logtool.LogtoolCore
-
Pulls apart an input stream if needed.
- getLogStream(String) - Method in class org.powertac.logtool.LogtoolCore
-
Opens the state log file, uncompressing it and extracting it from an archive as needed.
- getNextObject() - Method in interface org.powertac.logtool.ifc.ObjectReader
-
Returns the next object from the log.
- getObjectReader(String) - Method in class org.powertac.logtool.LogtoolCore
-
Returns an incremental ObjectReader instances positioned at the start of content in a state log.
- getTimeslotPause() - Method in class org.powertac.logtool.common.DomainObjectReader
H
- handleNewObject(Object) - Method in interface org.powertac.logtool.common.NewObjectListener
- handleNewObject(Object) - Method in class org.powertac.logtool.common.NoopAnalyzer.ObjectHandler
I
- includeClassname(String) - Method in class org.powertac.logtool.LogtoolCore
-
Adds the given classname to the list of IncludesOnly classes in the DomainObjectReader.
- initialize() - Method in class org.powertac.logtool.LogtoolContext
-
Set up the Spring context, initialize common number formatting setup
- interrupt() - Method in class org.powertac.logtool.LogtoolCore
L
- Logtool - Class in org.powertac.logtool
-
This is the top level of the top-down version of the Power TAC logtool analyzer.
- Logtool() - Constructor for class org.powertac.logtool.Logtool
- LogtoolContext - Class in org.powertac.logtool
-
Abstract class to hook an Analyzer into the Spring Context.
- LogtoolContext() - Constructor for class org.powertac.logtool.LogtoolContext
- LogtoolCore - Class in org.powertac.logtool
-
Given command-line arguments, reads a state log, re-creates and updates objects, calls message handlers in specified Analyzers.
- LogtoolCore() - Constructor for class org.powertac.logtool.LogtoolCore
-
Default constructor
M
- main(String[]) - Static method in class org.powertac.logtool.Logtool
-
Sets up the logtool, delegates everything to a LogtoolCore instance.
- MissingDomainObject - Exception in org.powertac.logtool.common
- MissingDomainObject(String) - Constructor for exception org.powertac.logtool.common.MissingDomainObject
N
- NewObjectListener - Interface in org.powertac.logtool.common
-
Implementations can receive notifications of new objects.
- NoopAnalyzer - Class in org.powertac.logtool.common
- NoopAnalyzer() - Constructor for class org.powertac.logtool.common.NoopAnalyzer
- NoopAnalyzer.ObjectHandler - Class in org.powertac.logtool.common
O
- ObjectHandler() - Constructor for class org.powertac.logtool.common.NoopAnalyzer.ObjectHandler
- ObjectReader - Interface in org.powertac.logtool.ifc
-
Instances deliver re-created objects from a state log file.
- org.powertac.logtool - package org.powertac.logtool
- org.powertac.logtool.common - package org.powertac.logtool.common
- org.powertac.logtool.ifc - package org.powertac.logtool.ifc
P
- processCmdLine(String[]) - Method in class org.powertac.logtool.LogtoolCore
-
Processes a command line, providing a state-log file from the local filesystem, or a remote URL.
R
- readObject(String) - Method in class org.powertac.logtool.common.DomainObjectReader
-
Converts a line from the log to an object.
- readStateLog(BufferedReader, Analyzer...) - Method in class org.powertac.logtool.LogtoolCore
-
Reads state-log from given input stream using the DomainObjectReader.
- readStateLog(InputStream, Analyzer...) - Method in class org.powertac.logtool.LogtoolCore
-
Reads a state log that may be compressed and/or archived
- readStateLog(String, Analyzer...) - Method in class org.powertac.logtool.LogtoolCore
-
Reads the given state-log source using the DomainObjectReader.
- recycleRepos() - Method in class org.powertac.logtool.LogtoolCore
- registerMessageHandlers() - Method in class org.powertac.logtool.LogtoolContext
-
Finds all the handleMessage() methods and registers them.
- registerMessageListener(Class<?>) - Method in class org.powertac.logtool.LogtoolContext
- registerMessageListener(LogtoolContext, Class<?>) - Method in class org.powertac.logtool.common.DomainObjectReader
-
Registers the given LogtoolContext as a messageListener.
- registerNewObjectListener(NewObjectListener, Class<?>) - Method in class org.powertac.logtool.common.DomainObjectReader
-
Registers a NewObjectListener.
- registerNewObjectListener(NewObjectListener, Class<?>) - Method in class org.powertac.logtool.LogtoolContext
-
Passthrough for event registration
- report() - Method in class org.powertac.logtool.common.DomainBuilder
- report() - Method in class org.powertac.logtool.common.NoopAnalyzer
- report() - Method in interface org.powertac.logtool.ifc.Analyzer
-
Called after reading the logfile
- reset() - Method in class org.powertac.logtool.common.DomainObjectReader
-
Restores the Reader to initial conditions
- resetDOR(boolean) - Method in class org.powertac.logtool.LogtoolCore
-
Resets the DomainObjectReader, removing filtering criteria.
S
- setContext(ApplicationContext) - Method in class org.powertac.logtool.LogtoolContext
- setInstantiate(boolean) - Method in class org.powertac.logtool.common.DomainObjectReader
-
Sets the instantiation flag.
- setPerTimeslotPause(int) - Method in class org.powertac.logtool.LogtoolCore
-
Sets the per-timeslot pause value, used by Visualizer
- setSchema(HashMap<String, String[]>) - Method in class org.powertac.logtool.common.DomainObjectReader
-
Sets the schema for this log.
- setTimeslotPause(int) - Method in class org.powertac.logtool.common.DomainObjectReader
-
Sets the per-timeslot pause value in msec
- setup() - Method in class org.powertac.logtool.common.DomainBuilder
- setup() - Method in class org.powertac.logtool.common.NoopAnalyzer
- setup() - Method in interface org.powertac.logtool.ifc.Analyzer
-
Called before reading the logfile.
All Classes All Packages