|
|
com.architech
|
Field Summary | |
boolean |
accumulateDupEntries
This governs wether multiple lookups are combined into one entry or not. |
com.architech.connector.rscConnectorInterface |
connector
This is the connector we are working with |
com.architech.connector.rscConnectorInterface |
input_connector
This is the input_connector provided as a parameter (to the assembly line) |
com.architech.rsStats |
stats
This is the statistics object for the connector |
java.lang.Object |
value
This is the "ret.value" object returned by the attribute map |
Constructor Summary | |
rscTaskComponent()
|
|
rscTaskComponent(com.architech.TaskInterface parent,
java.lang.String name,
java.util.TreeMap config,
com.architech.connector.rscConnectorInterface conn)
Constructor |
Method Summary | |
void |
add(Entry meta)
|
void |
close()
This method closes the connector (connector.terminate()) and calls the before/after close hooks. |
void |
debug(java.lang.String msg)
|
void |
delete(Entry meta)
|
void |
deleteEntry(Entry meta)
|
void |
dumpEntry(Entry meta)
|
void |
expandParameters(com.architech.config.rsConfiguration cf)
|
java.lang.Object |
getConfig(java.lang.String param)
This method returns the configuration value for parameter param. |
java.lang.Object |
getConnectorParam(java.lang.String param)
This method returns the configuration value for the connector's parameter. |
boolean |
getDebug()
This method returns the the debug mode flag. |
int |
getDuplicateEntryCount()
|
Entry |
getLastReadEntry()
This method returns the last entry read from the connector. |
java.lang.String |
getName()
This method returns the name assigned to the connector by the assembly line. |
Entry |
getnext()
The method returns the next entry from the connector. |
Entry |
getNextDuplicateEntry()
|
com.architech.rsStats |
getStats()
|
int |
getType()
This method returns the mode in which we are executing (e.g. |
int |
handleException(java.lang.String oper,
java.lang.Exception e,
Entry meta)
|
void |
initialize()
This method initializes the underlying connnector and registers the script beans in the scriptEngine context. |
boolean |
isEnabled()
|
boolean |
isExceptionFatal(java.lang.Exception e)
|
void |
logmsg(java.lang.String msg)
|
Entry |
lookup(Entry meta)
The method is called to lookup an entry using the configured Link Criteria. |
Entry |
lookup(java.lang.String attribute,
java.lang.String value)
The method is called to lookup an entry using exact matching for attribute and value. |
void |
modify(Entry old,
Entry meta)
|
void |
pushback(Entry entry)
This method pushes an entry back to the connector. |
void |
setDebug(boolean debug)
This method sets the the debug mode flag. |
void |
setDuplicateEntryCount(int maxdup)
|
void |
showDebug(java.lang.String str,
java.lang.String oper,
Entry work,
Entry conn)
|
boolean |
trigger(java.lang.String oper)
|
boolean |
trigger(java.lang.String oper,
Entry work,
Entry conn)
|
void |
update(Entry meta)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public com.architech.connector.rscConnectorInterface input_connector
public com.architech.connector.rscConnectorInterface connector
public com.architech.rsStats stats
public java.lang.Object value
public boolean accumulateDupEntries
Constructor Detail |
public rscTaskComponent(com.architech.TaskInterface parent, java.lang.String name, java.util.TreeMap config, com.architech.connector.rscConnectorInterface conn) throws java.lang.Exception
public rscTaskComponent()
Method Detail |
public java.lang.String getName()
public java.lang.Object getConfig(java.lang.String param)
param
- The parameter namepublic java.lang.Object getConnectorParam(java.lang.String param)
param
- The parameter namepublic boolean getDebug()
public void setDebug(boolean debug)
debug
- True to enable debug, false to disablepublic void close()
public int getType()
public void initialize() throws java.lang.Exception
public Entry getLastReadEntry()
public void pushback(Entry entry)
public Entry getnext() throws java.lang.Exception
public Entry lookup(java.lang.String attribute, java.lang.String value) throws java.lang.Exception
attribute
- The attribute name to searchvalue
- The attribute valuepublic Entry lookup(Entry meta) throws java.lang.Exception
meta
- The entry object providing values for variable substitution.public void deleteEntry(Entry meta) throws java.lang.Exception
public void delete(Entry meta) throws java.lang.Exception
public void update(Entry meta) throws java.lang.Exception
public void modify(Entry old, Entry meta) throws java.lang.Exception
public void add(Entry meta) throws java.lang.Exception
public void dumpEntry(Entry meta) throws java.lang.Exception
public com.architech.rsStats getStats()
public void logmsg(java.lang.String msg)
public void debug(java.lang.String msg)
public boolean isExceptionFatal(java.lang.Exception e)
public int handleException(java.lang.String oper, java.lang.Exception e, Entry meta) throws java.lang.Exception
public void showDebug(java.lang.String str, java.lang.String oper, Entry work, Entry conn) throws java.lang.Exception
public boolean trigger(java.lang.String oper, Entry work, Entry conn) throws java.lang.Exception
public boolean trigger(java.lang.String oper) throws java.lang.Exception
public void setDuplicateEntryCount(int maxdup)
public int getDuplicateEntryCount()
public Entry getNextDuplicateEntry() throws java.lang.Exception
public void expandParameters(com.architech.config.rsConfiguration cf) throws java.lang.Exception
public boolean isEnabled()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
|