Class HistorianDocProvider
java.lang.Object
com.inductiveautomation.ignition.common.script.hints.PropertiesFileDocProvider
com.inductiveautomation.historian.common.scripting.HistorianDocProvider
- All Implemented Interfaces:
ScriptFunctionDocProvider
Custom documentation provider for historian scripting functions that hides certain parameters
from autocomplete and documentation while still accepting them for backward compatibility.
On Ignition 8.3, the legacy query path cannot honor certain parameters advertised in the scripting API. Rather than breaking existing scripts, this provider hides these parameters from documentation while the underlying code continues to accept them (accept-and-ignore pattern).
queryAggregatedPoints:fillModes,excludeObservations,includeBoundsqueryRawPoints:excludeObservations,includeBoundsbrowse:snapshotTime
These parameters will be fully supported when the 2027.02 query overhaul is implemented.
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.script.hints.PropertiesFileDocProvider
IGNORED_EXCEPTIONSFields inherited from interface com.inductiveautomation.ignition.common.script.hints.ScriptFunctionDocProvider
NO_DOC_PROVIDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.inductiveautomation.ignition.common.script.typing.CompletionDescriptor.MethodgetMethodDescriptor(String path, Method method) Methods inherited from class com.inductiveautomation.ignition.common.script.hints.PropertiesFileDocProvider
b10n, buildParameter, getAnnotations, getBundlePrefix, getDeprecation, getExceptionDescription, getExceptions, getFieldDescription, getFieldDescriptor, getFieldType, getFieldValue, getIgnoredExceptions, getMethodDescription, getParameters, getReturnDocs, getReturnType, parametersFromKeywordArgs, parametersFromScriptArgs, shouldBeIgnored
-
Constructor Details
-
HistorianDocProvider
public HistorianDocProvider()
-
-
Method Details
-
getMethodDescriptor
public com.inductiveautomation.ignition.common.script.typing.CompletionDescriptor.Method getMethodDescriptor(String path, Method method) - Specified by:
getMethodDescriptorin interfaceScriptFunctionDocProvider- Overrides:
getMethodDescriptorin classPropertiesFileDocProvider- Parameters:
path- The path this function is being added at, as given to theScriptManager.method- TheMethodbeing added as a scripting function.- Returns:
- A descriptor for the method.
- See Also:
-
CompletionDescriptor.MethodTypeDescriptor
-