public class OETLContext extends OBasicCommandContext
OCommandContext.TIMEOUT_STRATEGY
args, child, database, declaredScriptVariables, EXECUTION_BEGUN, inputParameters, INVALID_COMPARE_COUNT, parent, recordMetrics, resultsProcessed, TIMEOUT_MS, TIMEOUT_STRATEGY, uniqueResult, variables
Constructor and Description |
---|
OETLContext()
By default the OETLContext in initialized with a message handler with: - verbosity level: 0
(NONE) --> nothing will be printed out - output stream: null - logging: OLogManager
|
Modifier and Type | Method and Description |
---|---|
OPluginMessageHandler |
getMessageHandler() |
String |
printExceptionMessage(Exception e,
String message,
String level)
Prints the error message for a caught exception according to a level passed as argument.
|
String |
printExceptionStackTrace(Exception e,
String level)
Builds the exception stack trace and prints it according to a level passed as argument.
|
void |
setMessageHandler(OPluginMessageHandler messageHandler) |
addToUniqueResult, beginExecution, checkTimeout, copy, declareScriptVariable, getDatabase, getInputParameters, getParent, getResultsProcessed, getVariable, getVariable, getVariableFromParentHierarchy, getVariables, incrementVariable, isRecordingMetrics, isScriptVariableDeclared, merge, setChild, setDatabase, setInputParameters, setParent, setParentWithoutOverridingChild, setRecordingMetrics, setVariable, toString, updateMetric
public OETLContext()
public OPluginMessageHandler getMessageHandler()
public void setMessageHandler(OPluginMessageHandler messageHandler)
public String printExceptionMessage(Exception e, String message, String level)
e
- message
- level
- Copyright © 2009–2020 OrientDB. All rights reserved.