This is the base class for all sync plugins.
|
|
bool
|
|
|
_consolidate(self)
Should be overwritten by the individual plugin's implementation if a
consolidation of the data is necessary. |
source code
|
|
bool
|
_writeState(self)
Should be overwritten by the individual plugin's implementation if it
makes use of a state variable like e.g. |
source code
|
|
bool
|
_loadState(self)
Should be overwritten by the individual plugin's implementation if it
makes use of a state variable like e.g. |
source code
|
|
|
_writeEntries(self)
Write all entries in self._entries to the file
specified through self._intermediate_temp_filename . |
source code
|
|
string
|
|
string
|
|
Stats
|
|
int
|
|
bool
|
|
Inherited from log.BaseLogger :
logger
|
datetime
|
_from_date = LAST_QUERY_DEFAULT
The date to start the query from.
|
string
|
_url = None
The URL that is the starting point for the data acquisition.
|
string
|
_intermediate_temp_filename = None
The temporary file to which all data from the queries will be
written.
|
string
|
_temp_filename = None
The temporary file to which all data from the queries will be
written.
|
string
|
_intermediate_xml_filename = None
The filename of the intermediate consolidated XML data.
|
string
|
_xml_filename = None
The filename of the consolidated XML data.
|
list of XMLEntry
|
_entries = None
A temporary storage for XMLEntry instances.
|
int
|
_entries_written = -1
Overall number of elements written.
|
Stats
|
_stats = None
The statistics for the plugin,
|
bool
|
_NO_NET = None
Should we actually get the data from the net, or should we use the
data from the previous run?
|
string
|
_base_url = None
Stores the url up to the location part.
|
|