Class PropertyFunction
- java.lang.Object
-
- com.inductiveautomation.ignition.common.expressions.functions.BaseFunction
-
- com.inductiveautomation.ignition.common.expressions.functions.AbstractFunction
-
- com.inductiveautomation.perspective.gateway.expression.PropertyFunction
-
- All Implemented Interfaces:
Function
public class PropertyFunction extends AbstractFunction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect(CommonContext context, InteractionListener updateListener)Empty implementation from BaseFunction.voiddisconnect()Empty implementation from BaseFunction.QualifiedValueexecute(Expression[] args)Execute this function, and return the function's qualified value.java.lang.StringgetArgDocString()Returns a string to be used in the auto-generated function documentation.protected java.lang.StringgetFunctionDisplayName()voidshutdown()Empty implementation from BaseFunction.protected booleanvalidateNumArgs(int num)-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.functions.AbstractFunction
executeArg, initArgs, log
-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.functions.BaseFunction
copy, executeAll, startup
-
-
-
-
Method Detail
-
connect
public void connect(CommonContext context, InteractionListener updateListener)
Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.- Specified by:
connectin interfaceFunction- Overrides:
connectin classBaseFunction
-
execute
public QualifiedValue execute(Expression[] args) throws ExpressionException
Description copied from interface:FunctionExecute this function, and return the function's qualified value.- Throws:
ExpressionException
-
disconnect
public void disconnect()
Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.- Specified by:
disconnectin interfaceFunction- Overrides:
disconnectin classBaseFunction
-
shutdown
public void shutdown()
Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.- Specified by:
shutdownin interfaceFunction- Overrides:
shutdownin classBaseFunction
-
getFunctionDisplayName
protected java.lang.String getFunctionDisplayName()
- Specified by:
getFunctionDisplayNamein classAbstractFunction
-
validateNumArgs
protected boolean validateNumArgs(int num)
- Overrides:
validateNumArgsin classAbstractFunction
-
getArgDocString
public java.lang.String getArgDocString()
Description copied from interface:FunctionReturns a string to be used in the auto-generated function documentation. The string should represent the arguments for the function, such as "string, count" for the "repeat" function.
-
-