Package com.inductiveautomation.sfc.api
Interface ChartContext
- 
 public interface ChartContext
- 
- 
Field SummaryFields 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 SummaryAll 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_CHARTNAMEstatic final java.lang.String KEY_MDC_CHARTNAME - See Also:
- Constant Field Values
 
 - 
KEY_MDC_CHARTUUIDstatic final java.lang.String KEY_MDC_CHARTUUID - See Also:
- Constant Field Values
 
 - 
KEY_MDC_STEPNAMEstatic final java.lang.String KEY_MDC_STEPNAME - See Also:
- Constant Field Values
 
 - 
ThreadFactorystatic final java.util.concurrent.ThreadFactory ThreadFactory 
 - 
SharedExecutorstatic final java.util.concurrent.ExecutorService SharedExecutor 
 - 
ScheduledThreadFactorystatic final java.util.concurrent.ThreadFactory ScheduledThreadFactory 
 - 
SharedSchedulerstatic final java.util.concurrent.ScheduledExecutorService SharedScheduler 
 
- 
 - 
Method Detail- 
abortvoid abort(java.lang.Throwable cause) 
 - 
pausevoid pause() 
 - 
shouldDebugboolean shouldDebug(java.util.UUID step) 
 - 
debugvoid 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).
 - 
getInstanceIdjava.util.UUID getInstanceId() 
 - 
getChartPathjava.lang.String getChartPath() 
 - 
getChartScopePyChartScope getChartScope() 
 - 
getScopeLocatorScopeLocator getScopeLocator() 
 - 
getElementsjava.util.List<ChartElement> getElements() 
 - 
getResourceIdProjectResourceId getResourceId() 
 - 
getChartDefinitionChartDefinition getChartDefinition() 
 - 
getElementChartElement getElement(java.util.UUID elementId) 
 - 
getExecutionQueueExecutionQueue getExecutionQueue() 
 - 
getGatewayContextGatewayContext getGatewayContext() 
 - 
getScriptManagerScriptManager getScriptManager() 
 - 
isRunningboolean isRunning() Indicates that the chart is in a running state and the elements should transition as necessary. *
 - 
getLogDetailsMDCUtils.MDCDetails getLogDetails() 
 
- 
 
-