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
 
 public abstract class BaseFunction extends java.lang.Object implements Function 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 Constructor Description BaseFunction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect(CommonContext context, InteractionListener updateListener)Empty implementation from BaseFunction.Functioncopy()Returns this.voiddisconnect()Empty 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, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.expressions.functions.Functionexecute, getArgDocString, getType, initArgs
 
- 
 
- 
- 
- 
Method Detail- 
connectpublic void connect(CommonContext context, InteractionListener updateListener) Empty 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.
 - 
copypublic Function copy() Returns this. Override to create a clone if you need a unique function object per Expression.
 - 
executeAllprotected QualifiedValue[] executeAll(Expression[] args) throws ExpressionException Helper function to execute all sub expressions for simple functions that just use all values.- Throws:
- ExpressionException
 
 
- 
 
-