Interface SfcScriptingFunctions
- All Known Subinterfaces:
- SfcRpcFunctions
- All Known Implementing Classes:
- ClientScriptingFunctions
public interface SfcScriptingFunctions
- 
Method SummaryModifier and TypeMethodDescriptionvoidcancelChart(UUID instanceId) Cancels the chart instance indicated byinstanceId.voiddebugResume(UUID instanceId) Sends a message to the chart instance stopped at a breakpoint to resume normal operations.voidSends a message to the chart instance stopped at a breakpoint to step to the next step.Returns information about the currently running charts.getRunningCharts(String chartPath) Returns information about the currently running instances of a given chart path.getVariables(UUID instanceId) Returns the chart scope for the specified instance.voidpauseChart(UUID instanceId) Pause the chart instance indicated byinstanceId.voidredundantCheckpoint(UUID instanceId) For charts that have the "redundancy sync" setting enabled, this method synchronizes chart and step variables of the specified chart instance across the redundant cluster, allowing the instance to continue where it left off if a redundant failover occurs.voidresumeChart(UUID instanceId) Resume the chart instance indicated byinstanceId.voidsetVariables(UUID instanceId, UUID stepId, org.python.core.PyObject variableMap) voidsetVariables(UUID instanceId, org.python.core.PyObject variableMap) Updates the chart indicated byinstanceIdby copying all of the variables from the providedvariableMapinto the chart's scope.Start a Chart in ProjectprojectNamefrom the definition atchartPath.startChart(String chartPath, Map<String, Object> parameters) Deprecated.
- 
Method Details- 
startChartDeprecated.usestartChart(String, String, Map)instead.Start a chart in ProjectProject.GLOBAL_PROJECT_NAMEfrom the definition atchartPath.
- 
startChartUUID startChart(String projectName, String chartPath, Map<String, Object> parameters) throws ExceptionStart a Chart in ProjectprojectNamefrom the definition atchartPath.
- 
cancelChartCancels the chart instance indicated byinstanceId.
- 
pauseChartPause the chart instance indicated byinstanceId.
- 
resumeChartResume the chart instance indicated byinstanceId.
- 
debugStepSends a message to the chart instance stopped at a breakpoint to step to the next step.- Throws:
- Exception
 
- 
debugResumeSends a message to the chart instance stopped at a breakpoint to resume normal operations.- Throws:
- Exception
 
- 
getRunningChartsReturns information about the currently running charts.- Returns:
- Chart information about all of the currently running charts.
- Throws:
- Exception
 
- 
getRunningChartsReturns information about the currently running instances of a given chart path.- Throws:
- Exception
 
- 
setVariablesUpdates the chart indicated byinstanceIdby copying all of the variables from the providedvariableMapinto the chart's scope.- Parameters:
- instanceId- the of the chart instance to update.
- variableMap- a dictionary containing key-value pairs of serializable things to update in chart scope.
 
- 
setVariables
- 
getVariablesReturns the chart scope for the specified instance. Step scopes for active steps are found under the "activeSteps" key.- Throws:
- Exception
 
- 
redundantCheckpointFor charts that have the "redundancy sync" setting enabled, this method synchronizes chart and step variables of the specified chart instance across the redundant cluster, allowing the instance to continue where it left off if a redundant failover occurs.- Parameters:
- instanceId- the UUID of the chart instance to update.
- Throws:
- Exception- if the redundant peer is not set up or connected, or if the chart does not have redundancy sync enabled.
 
 
- 
startChart(String, String, Map)instead.