|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RSInterface
The top level Thread is an instance of this class, called the main object. It has methods for manipulating AssemblyLines.
Method Summary | |
---|---|
void |
dump(Object o)
Dumps the class and contents of an object to the log file. |
void |
dumpEntry(Entry e)
Dumps the contents of an Entry to the log file. |
AttributeMapConfig |
getAttributeMap(String name)
Returns the the "Attribute Map" for a named connector |
String |
getConfigPath()
This method returns the current configuration file path |
Object |
getConfiguration(String name)
Returns the entire table or a sub-section of the configuration file. |
ConnectorConfig |
getConnector(String name)
Returns the the "Connector" entry for name |
FunctionConfig |
getFunction(String name)
Returns the "FunctionConfig" entry for name |
LibraryConfig |
getLibraries()
Returns all "Libraries" |
Object |
getLibrary(String name)
Returns the the "Java Library" entry for name |
MetamergeConfig |
getMetamergeConfig()
Returns the config object for this instance. |
String |
getNullBehavior()
Return the null behavior value from the System.props |
String |
getNullBehaviorValue()
|
String |
getNullDefinition()
Return the null definition value from the System.props |
String |
getNullDefinitionValue()
|
ParserConfig |
getParser(String name)
Returns the the "Parser" entry for name |
ScriptConfig |
getScript(String name)
Returns the the "Script Library" entry for name |
String |
getSysProp(String name)
Returns the value of a system property. |
AssemblyLineConfig |
getTask(String name)
Returns the "AssemblyLine" entry |
EventHandlerConfig |
getTrigger(String name)
Returns the "EventHandler" entry |
void |
logmsg(String msg)
Writes a message to the system log file. |
void |
logmsg(String level,
String msg)
This method logs a message with the specified level to the log. |
void |
persistConfiguration()
This method saves the current configuration to disk. |
void |
reload()
This method reloads the configuration file. |
AssemblyLine |
restartAL(String assemblyLine,
String checkpointID)
Restart the AssemblyLine given by the parameter. |
void |
setConfigPath(String path)
This method sets the current configuration file path. |
void |
setMetamergeConfig(MetamergeConfig config)
Sets the given configuration to this instance. |
void |
shutdownServer()
Set the shutdown request flag |
void |
shutdownServer(int aExitCode)
Set the shutdown request flag and specify an exit code. |
AssemblyLine |
startAL(String assemblyLine)
Start the AssemblyLine given by the parameter. |
AssemblyLine |
startAL(String assemblyLine,
Connector connector,
Entry work)
Start the AssemblyLine given by the parameter. |
AssemblyLine |
startAL(String assemblyLine,
Object io)
Start the AssemblyLine given by the parameter. |
Object |
startEventTrigger(String name,
boolean checkEnabled)
This method starts an EventHandler. |
Method Detail |
---|
Object getConfiguration(String name)
name
- Name of subsection or null
MetamergeConfig getMetamergeConfig()
void setMetamergeConfig(MetamergeConfig config)
config
- The configuration object to assign to the instance.AssemblyLineConfig getTask(String name)
name
- The AssemblyLine name
ConnectorConfig getConnector(String name)
name
- The connector name
EventHandlerConfig getTrigger(String name)
name
- The EventHandler name
Object getLibrary(String name)
name
- The java library name
LibraryConfig getLibraries()
ParserConfig getParser(String name)
name
- The parser name
ScriptConfig getScript(String name)
name
- The script library name
AttributeMapConfig getAttributeMap(String name)
name
- The connector name
FunctionConfig getFunction(String name) throws Exception
name
- The name of the function
Exception
String getSysProp(String name)
name
- The system property name
void persistConfiguration() throws Exception
Exception
void logmsg(String msg)
msg
- The message to logvoid logmsg(String level, String msg)
level
- Loglevel. Legal values are FATAL, ERROR, WARN, INFO, DEBUG.
Unrecognized keyword means DEBUG.msg
- The messagevoid dump(Object o)
o
- The object to dumpdumpEntry(com.ibm.di.entry.Entry)
void dumpEntry(Entry e)
e
- The Entry object to dumpEntry
AssemblyLine startAL(String assemblyLine) throws Exception
assemblyLine
- The name identifying the AssemblyLine to start
Exception
AssemblyLine startAL(String assemblyLine, Object io) throws Exception
assemblyLine
- The name identifying the AssemblyLine to startio
- This Object could either beException
AssemblyLine startAL(String assemblyLine, Connector connector, Entry work) throws Exception
assemblyLine
- The name identifying the AssemblyLine to startconnector
- The runtime-provided Connectorwork
- The initial work entry
Exception
AssemblyLine restartAL(String assemblyLine, String checkpointID) throws Exception
assemblyLine
- The name identifying the AssemblyLine to startcheckpointID
- The checkpoint identifier
Exception
Object startEventTrigger(String name, boolean checkEnabled) throws Exception
name
- The EventHandler namecheckEnabled
- If false, the autoStart flag is overridden
Exception
void reload() throws Exception
Exception
String getConfigPath()
void setConfigPath(String path)
path
- The new configuration pathvoid shutdownServer()
void shutdownServer(int aExitCode)
String getNullBehavior()
String getNullBehaviorValue()
String getNullDefinition()
String getNullDefinitionValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |