Package com.inductiveautomation.sfc.api
Interface ChartContext
-
public interface ChartContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY_MDC_CHARTNAMEstatic java.lang.StringKEY_MDC_CHARTUUIDstatic java.lang.StringKEY_MDC_STEPNAMEstatic java.util.concurrent.ThreadFactoryScheduledThreadFactorystatic java.util.concurrent.ExecutorServiceSharedExecutorstatic java.util.concurrent.ScheduledExecutorServiceSharedSchedulerstatic java.util.concurrent.ThreadFactoryThreadFactory
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidabort(java.lang.Throwable cause)voiddebug()This will block until step or resume is called, if debugging is enabled, and the step has a breakpoint (or it's the next step after a "step" command).ChartDefinitiongetChartDefinition()java.lang.StringgetChartPath()PyChartScopegetChartScope()ChartElementgetElement(java.util.UUID elementId)java.util.List<ChartElement>getElements()ExecutionQueuegetExecutionQueue()GatewayContextgetGatewayContext()java.util.UUIDgetInstanceId()MDCUtils.MDCDetailsgetLogDetails()ProjectResourceIdgetResourceId()ScopeLocatorgetScopeLocator()ScriptManagergetScriptManager()booleanisRunning()Indicates that the chart is in a running state and the elements should transition as necessary.voidpause()booleanshouldDebug(java.util.UUID step)
-
-
-
Field Detail
-
KEY_MDC_CHARTNAME
static final java.lang.String KEY_MDC_CHARTNAME
- See Also:
- Constant Field Values
-
KEY_MDC_CHARTUUID
static final java.lang.String KEY_MDC_CHARTUUID
- See Also:
- Constant Field Values
-
KEY_MDC_STEPNAME
static final java.lang.String KEY_MDC_STEPNAME
- See Also:
- Constant Field Values
-
ThreadFactory
static final java.util.concurrent.ThreadFactory ThreadFactory
-
SharedExecutor
static final java.util.concurrent.ExecutorService SharedExecutor
-
ScheduledThreadFactory
static final java.util.concurrent.ThreadFactory ScheduledThreadFactory
-
SharedScheduler
static final java.util.concurrent.ScheduledExecutorService SharedScheduler
-
-
Method Detail
-
abort
void abort(java.lang.Throwable cause)
-
pause
void pause()
-
shouldDebug
boolean shouldDebug(java.util.UUID step)
-
debug
void debug()
This will block until step or resume is called, if debugging is enabled, and the step has a breakpoint (or it's the next step after a "step" command).
-
getInstanceId
java.util.UUID getInstanceId()
-
getChartPath
java.lang.String getChartPath()
-
getChartScope
PyChartScope getChartScope()
-
getScopeLocator
ScopeLocator getScopeLocator()
-
getElements
java.util.List<ChartElement> getElements()
-
getResourceId
ProjectResourceId getResourceId()
-
getChartDefinition
ChartDefinition getChartDefinition()
-
getElement
ChartElement getElement(java.util.UUID elementId)
-
getExecutionQueue
ExecutionQueue getExecutionQueue()
-
getGatewayContext
GatewayContext getGatewayContext()
-
getScriptManager
ScriptManager getScriptManager()
-
isRunning
boolean isRunning()
Indicates that the chart is in a running state and the elements should transition as necessary. *
-
getLogDetails
MDCUtils.MDCDetails getLogDetails()
-
-