Metamerge logo
Search

Advanced Search
*
*
*
* HOME DOCUMENTS & RESOURCES DOWNLOADS EARLY TECH ACCESS SUPPORT FAQ KNOWN ISSUES OLD VERSIONS
*

 

The task object

The task object represents the current thread of execution. For AssemblyLines this is the AssemblyLine thread where you can access AssemblyLine specific information. For EventHandlers a similar set of methods are available.

task - AssemblyLine

Methods

Function Description
enableDebug () Connects this AssemblyLine to a debugger window
debugBreak ( obj ) Sends obj to the debugger window and waits for a continue or stop command from the debugger window.
debugMsg ( obj ) Sends obj to the debugger window
disableDebug () Closes the session with the debugger window
dumpEntry ( entry ) Dumps the contents of an entry object to the log file
getConfig ( p ) Returns a name parameter from the AssemblyLine's configuration.
getParam ( p ) Returns a named value from the AssemblyLine's task parameter list.
getStats () Returns the AssemblyLine status(statistics) object. This object is the accumulated statistics of all the AssemblyLine's Connectors.
getResult() Returns the final working entry for the AssemblyLine. The final entry is whatever is in the work entry by the time the AssemblyLine has completed its business.
getWork() Returns the initial working entry for the AssemblyLine. The initial working entry is provided by another task.
logmsg ( str ) Writes a line (str) to the log file
setParam ( p, v ) Sets a named value in the AssemblyLines task parameter list. The task parameter list is persisted to file after the AssemblyLine completes.
setConfig ( p, v ) Sets a named value in the AssemblyLine's configuration.
setWork ( entry ) Sets the initial work entry to entry.

task - EventHandler

Methods

Function Description
dumpEntry ( entry ) Dumps the contents of an entry object to the log file
logmsg ( str ) Writes a line (str) to the log file
 

 

*
  Metamerge Integrator version 4.6 ©Copyright Metamerge AS 2000-2002 Last edited 2002-06-10 contact us