public final class LoggingContext extends Object
Constructor and Description |
---|
LoggingContext() |
Modifier and Type | Method and Description |
---|---|
static void |
clearContext()
Remove context node.
|
static Map<ContextLevel,String> |
getContextValues()
Returns map of context values.
|
static void |
setConnectionID(String connectionIDValue)
Put connection ID to context.
|
static void |
setContext(String contextNode)
Set a context node.
|
static void |
setPhase(String scenarioTypeValue)
Put scenario phase to context.
|
static void |
setScenario(String scenarioValue)
Put scenario name to context.
|
static void |
setScenarioExecutionId(String executionIDValue)
Put execution ID to context.
|
static void |
setTechnology(String technologyName)
Put technology name to the context.
|
static void |
setWorkflowExecutionId(String workflowIDValue)
Put workflow ID to context.
|
static void |
unsetConnectionID()
Remove input name from the context.
|
static void |
unsetPhase()
Remove phase from the context.
|
static void |
unsetScenario()
Remove scenaraio from the context.
|
static void |
unsetTechnology()
Remove technology from the context.
|
public static Map<ContextLevel,String> getContextValues()
public static void setTechnology(String technologyName)
technologyName
- Name of the scenario technology.public static void setConnectionID(String connectionIDValue)
connectionIDValue
- Input name/connection ID.public static void setPhase(String scenarioTypeValue)
scenarioTypeValue
- Phase of the scenario.public static void setScenario(String scenarioValue)
scenarioValue
- Name of the scenario.public static void setWorkflowExecutionId(String workflowIDValue)
workflowIDValue
- workflow ID.public static void setScenarioExecutionId(String executionIDValue)
executionIDValue
- execution ID.public static void unsetTechnology()
public static void unsetConnectionID()
public static void unsetPhase()
public static void unsetScenario()
public static void setContext(String contextNode)
contextNode
- Name of the particular context, generally name of a file.public static void clearContext()
Copyright © 2020. All rights reserved.