|
|
com.architech
|
Fields inherited from class com.architech.rsMonitor |
actionListener, monitoredThreads |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
rscTask()
|
|
rscTask(com.architech.RSInterface parent,
java.lang.String taskName,
java.lang.Object conn,
com.architech.rsLog log)
|
|
rscTask(com.architech.RSInterface parent,
java.lang.String taskName,
java.util.TreeMap config)
|
Method Summary | |
void |
close()
The close method terminates all connectors |
void |
debugBreak(java.lang.Object obj)
This method sends an object for display to the debug panel and waits for a continue/stop message. |
void |
debugMsg(java.lang.Object obj)
This method sends an object for display to the debug panel. |
void |
disableDebug()
This method disconnects any open debug session. |
void |
dumpEntry(Entry entry)
Prints the contents of an entry to the logfile. |
boolean |
enableDebug()
This method connects to Metamerge Admin debug panel. |
java.lang.Object |
getConfig(java.lang.String name)
getConfig returns a named value from the assembly line's configuration. |
rscTaskComponent |
getConnector(java.lang.String name)
Returns a connector object from the |
com.architech.rsLog |
getLog()
|
java.lang.String |
getLogFilePath()
Returns the logfile path relative to the working directory. |
java.lang.Object |
getParam(java.lang.String name)
getParam returns the value for a user-defined parameter. |
com.architech.RSInterface |
getParent()
This method returns the RSInterface (main) object. |
Entry |
getResult()
This method returns the result entry object. |
com.architech.script.scriptEngine |
getScriptEngine()
getScriptEngine returns the scriptEngine object for the assembly line. |
com.architech.rsStats |
getStats()
This method returns the statistics object. |
Entry |
getWork()
This method returns the initial work entry object. |
void |
initConnectors()
This method initializes all connectors and prepares them for the assembly line run. |
void |
loadScript(java.lang.String name,
boolean forceInclude)
This method includes a script in the current script engine context. |
void |
logmonitor(java.lang.String msg)
Logs a message to the monitor. |
void |
logmsg(java.lang.Object msg)
Logs a message to the assembly line logfile |
void |
run()
The run method kicks off the thread and starts assembly line execution. |
void |
runTask()
This method is called from the run() method to perform the main loop. |
void |
setConfig(java.lang.String name,
java.lang.Object value)
setConfig sets a named parameter value in the assembly line's configuration. |
void |
setParam(java.lang.String name,
java.lang.Object value)
setParam sets the value for the user-defined parameter. |
void |
setWork(Entry entry)
This method sets the initial work entry object. |
void |
terminate()
|
Methods inherited from class com.architech.rsMonitor |
addActionListener, addThread, fireListener, removeActionListener, removeThread, setMonitorMessage, threadStarted, threadStopped |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public rscTask(com.architech.RSInterface parent, java.lang.String taskName, java.lang.Object conn, com.architech.rsLog log) throws java.lang.Exception
public rscTask(com.architech.RSInterface parent, java.lang.String taskName, java.util.TreeMap config) throws java.lang.Exception
public rscTask()
Method Detail |
public com.architech.RSInterface getParent()
getParent
in interface com.architech.TaskInterface
public Entry getResult()
public Entry getWork()
public void setWork(Entry entry)
entry
- The initiali work entrypublic java.lang.String getLogFilePath()
public java.lang.Object getParam(java.lang.String name)
name
- The user-defined parameter namepublic void setParam(java.lang.String name, java.lang.Object value)
name
- The user-defined parameter namevalue
- The value associated with namepublic java.lang.Object getConfig(java.lang.String name)
getConfig
in interface com.architech.TaskInterface
name
- The assemblyline parameter namepublic void setConfig(java.lang.String name, java.lang.Object value)
name
- The assemblyline configuration parameter namevalue
- The value associated with namepublic com.architech.script.scriptEngine getScriptEngine()
getScriptEngine
in interface com.architech.TaskInterface
public void run()
run
in class java.lang.Thread
public void close()
public void terminate()
public void initConnectors() throws java.lang.Exception
public void runTask() throws java.lang.Exception
public com.architech.rsStats getStats()
public void logmsg(java.lang.Object msg)
logmsg
in interface com.architech.TaskInterface
msg
- The messagepublic void logmonitor(java.lang.String msg)
msg
- The messagepublic void dumpEntry(Entry entry)
entry
- The entry object to printpublic rscTaskComponent getConnector(java.lang.String name)
getConnector
in interface com.architech.TaskInterface
name
- The connector name as specified in the configurationpublic com.architech.rsLog getLog()
getLog
in interface com.architech.TaskInterface
public void disableDebug()
public boolean enableDebug()
public void debugMsg(java.lang.Object obj) throws java.lang.Exception
debugMsg
in interface com.architech.TaskInterface
obj
- The object to display. This object must be Serializablepublic void debugBreak(java.lang.Object obj) throws java.lang.Exception
debugBreak
in interface com.architech.TaskInterface
obj
- The object to displaypublic void loadScript(java.lang.String name, boolean forceInclude) throws java.lang.Exception
name
- The script library nameforceInclude
- Force inclusion of the script (in case autoinclude is false)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
|