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 void
connect(CommonContext context, InteractionListener updateListener)
Empty implementation from BaseFunction.void
disconnect()
Empty implementation from BaseFunction.QualifiedValue
execute(Expression[] args)
Execute this function, and return the function's qualified value.java.lang.String
getArgDocString()
Returns a string to be used in the auto-generated function documentation.protected java.lang.String
getFunctionDisplayName()
void
shutdown()
Empty implementation from BaseFunction.protected boolean
validateNumArgs(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:BaseFunction
Empty implementation from BaseFunction. Override if necessary.- Specified by:
connect
in interfaceFunction
- Overrides:
connect
in classBaseFunction
-
execute
public QualifiedValue execute(Expression[] args) throws ExpressionException
Description copied from interface:Function
Execute this function, and return the function's qualified value.- Throws:
ExpressionException
-
disconnect
public void disconnect()
Description copied from class:BaseFunction
Empty implementation from BaseFunction. Override if necessary.- Specified by:
disconnect
in interfaceFunction
- Overrides:
disconnect
in classBaseFunction
-
shutdown
public void shutdown()
Description copied from class:BaseFunction
Empty implementation from BaseFunction. Override if necessary.- Specified by:
shutdown
in interfaceFunction
- Overrides:
shutdown
in classBaseFunction
-
getFunctionDisplayName
protected java.lang.String getFunctionDisplayName()
- Specified by:
getFunctionDisplayName
in classAbstractFunction
-
validateNumArgs
protected boolean validateNumArgs(int num)
- Overrides:
validateNumArgs
in classAbstractFunction
-
getArgDocString
public java.lang.String getArgDocString()
Description copied from interface:Function
Returns 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.
-
-