Class BaseFunction
java.lang.Object
com.inductiveautomation.ignition.common.expressions.functions.BaseFunction
- All Implemented Interfaces:
- Function
- Direct Known Subclasses:
- AbstractFunction,- DefaultFunctionFactory.CastFunction,- DefaultFunctionFactory.CharFunction,- DefaultFunctionFactory.ConcatFunction,- DefaultFunctionFactory.EscapeSQL,- DefaultFunctionFactory.EscapeXML,- DefaultFunctionFactory.GradientFunction,- DefaultFunctionFactory.IndexOfFunction,- DefaultFunctionFactory.OrdinalFunction,- DefaultFunctionFactory.PowerFunction,- DefaultFunctionFactory.QualityOfFunction,- DefaultFunctionFactory.RepeatFunction,- DefaultFunctionFactory.RoundFunction,- DefaultFunctionFactory.SingleArgMathFunction,- DefaultFunctionFactory.SplitStringFunction,- DefaultFunctionFactory.StringCaseFunction,- DefaultFunctionFactory.StringTrimFunction,- DefaultFunctionFactory.SubstringFunction,- DefaultFunctionFactory.TimestampOfFunction,- DefaultFunctionFactory.TypeOfFunction,- DefaultFunctionFactory.UrlEncode,- JsonFormat,- JsonGet,- JsonSet
The base class of all functions, includes blank implementations of some of the methods from Function that aren't used
 by many functions, like the connect/startup stuff. Returns this from copy()
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnect(CommonContext context, InteractionListener updateListener) Empty implementation from BaseFunction.copy()Returns this.voidEmpty implementation from BaseFunction.protected QualifiedValue[]executeAll(Expression[] args) Helper function to execute all sub expressions for simple functions that just use all values.voidshutdown()Empty implementation from BaseFunction.voidstartup()Empty implementation from BaseFunction.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.expressions.functions.Functionexecute, getArgDocString, getType, initArgs
- 
Constructor Details- 
BaseFunctionpublic BaseFunction()
 
- 
- 
Method Details- 
connectEmpty implementation from BaseFunction. Override if necessary.
- 
disconnectpublic void disconnect()Empty implementation from BaseFunction. Override if necessary.- Specified by:
- disconnectin interface- Function
 
- 
shutdownpublic void shutdown()Empty implementation from BaseFunction. Override if necessary.
- 
startuppublic void startup()Empty implementation from BaseFunction. Override if necessary.
- 
copyReturns this. Override to create a clone if you need a unique function object per Expression.
- 
executeAllHelper function to execute all sub expressions for simple functions that just use all values.- Throws:
- ExpressionException
 
 
-