com.ibm.di.function
Class SystemFunctions
java.lang.Object
com.ibm.di.function.SystemFunctions
public class SystemFunctions
- extends Object
Method Summary |
static ConnectorConfig |
createRuntimeConnector()
|
static void |
declareUserFunctions(ScriptEngine se)
|
static void |
declareUserFunctions(ScriptEngine se,
RSInterface main)
|
static Object |
getClassInstance(String className)
|
static Object |
getEventHandler(EventHandlerConfig config)
|
static RSInterface |
getServer()
|
static AssemblyLineConfig |
loadAssemblyLine(String name)
|
static AssemblyLineConfig |
loadAssemblyLine(String name,
RSInterface server)
|
static ConnectorInterface |
loadConnector(ConnectorConfig config)
|
static ConnectorInterface |
loadConnector(ConnectorConfig config,
Object parentConfig)
|
static ConnectorInterface |
loadConnector(ConnectorConfig config,
Object parentConfig,
RSInterface server)
|
static ConnectorInterface |
loadConnector(PropertyStoreConfig psc)
|
static ConnectorInterface |
loadConnector(String name)
|
static ConnectorInterface |
loadConnector(String name,
RSInterface server)
|
static SearchCriteria |
loadCriteria(Vector m)
|
static FunctionInterface |
loadFunction(FunctionConfig config)
|
static FunctionInterface |
loadFunction(FunctionConfig config,
Log log)
|
static FunctionInterface |
loadFunction(String name)
|
static FunctionInterface |
loadFunction(String name,
RSInterface server)
|
static ParserInterface |
loadParser(ParserConfig config)
|
static ParserInterface |
loadParser(String name)
|
static ParserInterface |
loadParser(String name,
RSInterface server)
|
static ScriptConfig |
loadScript(String name)
|
static ScriptConfig |
loadScript(String name,
RSInterface server)
|
static void |
rotatelog(RSInterface parent,
String logfile)
|
static void |
setServer(RSInterface server)
|
static void |
setSystemProperties(MetamergeConfig mc)
|
static void |
setSystemProperties(MetamergeConfig config,
boolean recursive)
Set system properties from properties object in config. |
static ArrayList |
split(String str,
String sep)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setServer
public static void setServer(RSInterface server)
getServer
public static RSInterface getServer()
split
public static ArrayList split(String str,
String sep)
loadScript
public static ScriptConfig loadScript(String name)
loadScript
public static ScriptConfig loadScript(String name,
RSInterface server)
loadAssemblyLine
public static AssemblyLineConfig loadAssemblyLine(String name)
loadAssemblyLine
public static AssemblyLineConfig loadAssemblyLine(String name,
RSInterface server)
loadParser
public static ParserInterface loadParser(String name)
throws Exception
- Throws:
Exception
loadParser
public static ParserInterface loadParser(String name,
RSInterface server)
throws Exception
- Throws:
Exception
loadParser
public static ParserInterface loadParser(ParserConfig config)
throws Exception
- Throws:
Exception
loadConnector
public static ConnectorInterface loadConnector(String name)
throws Exception
- Throws:
Exception
loadConnector
public static ConnectorInterface loadConnector(String name,
RSInterface server)
throws Exception
- Throws:
Exception
loadConnector
public static ConnectorInterface loadConnector(PropertyStoreConfig psc)
throws Exception
- Throws:
Exception
loadConnector
public static ConnectorInterface loadConnector(ConnectorConfig config)
throws Exception
- Throws:
Exception
loadConnector
public static ConnectorInterface loadConnector(ConnectorConfig config,
Object parentConfig)
throws Exception
- Throws:
Exception
loadConnector
public static ConnectorInterface loadConnector(ConnectorConfig config,
Object parentConfig,
RSInterface server)
throws Exception
- Throws:
Exception
loadFunction
public static FunctionInterface loadFunction(String name)
throws Exception
- Throws:
Exception
loadFunction
public static FunctionInterface loadFunction(String name,
RSInterface server)
throws Exception
- Throws:
Exception
loadFunction
public static FunctionInterface loadFunction(FunctionConfig config)
throws Exception
- Throws:
Exception
loadFunction
public static FunctionInterface loadFunction(FunctionConfig config,
Log log)
throws Exception
- Throws:
Exception
getEventHandler
public static Object getEventHandler(EventHandlerConfig config)
throws Exception
- Throws:
Exception
loadCriteria
public static SearchCriteria loadCriteria(Vector m)
throws Exception
- Throws:
Exception
getClassInstance
public static Object getClassInstance(String className)
throws Exception
- Throws:
Exception
declareUserFunctions
public static void declareUserFunctions(ScriptEngine se)
throws Exception
- Throws:
Exception
declareUserFunctions
public static void declareUserFunctions(ScriptEngine se,
RSInterface main)
throws Exception
- Throws:
Exception
rotatelog
public static void rotatelog(RSInterface parent,
String logfile)
throws Exception
- Throws:
Exception
createRuntimeConnector
public static ConnectorConfig createRuntimeConnector()
throws Exception
- Throws:
Exception
setSystemProperties
public static void setSystemProperties(MetamergeConfig config,
boolean recursive)
throws Exception
- Set system properties from properties object in config. If recursive, run through included configs as well.
- Throws:
Exception
setSystemProperties
public static void setSystemProperties(MetamergeConfig mc)
throws Exception
- Throws:
Exception