Class FunctionExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.common.expressions.FunctionExpression
- All Implemented Interfaces:
- Expression
- 
Field SummaryFields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpressionchildren, context, updateListener
- 
Constructor SummaryConstructorsConstructorDescriptionFunctionExpression(ExpressionParseContext context, String funcName, List<Expression> argList) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnect(CommonContext context, InteractionListener updateListener) Gives the expression a chance to connect itself to things, if necessary.voidTells the expression to disconnect from anything it was connected to.execute()Compute and return the value of this expressiongetFunc()Return a human-readable name for the operation that this expression performsClass<?>getType()Return the type that this expression will returnvoidvoidsetFuncName(String string) voidshutdown()Tells the expression to shutdown any polling operations.voidstartup()Tells the expression to startup any polling operations.Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpressiongetChildren, setChildren
- 
Constructor Details- 
FunctionExpressionpublic FunctionExpression(ExpressionParseContext context, String funcName, List<Expression> argList) 
- 
FunctionExpressionpublic FunctionExpression()
 
- 
- 
Method Details- 
connectDescription copied from interface:ExpressionGives the expression a chance to connect itself to things, if necessary. Most expressions do not have any connections. An expression should notify the updateListener if they change.- Specified by:
- connectin interface- Expression
- Overrides:
- connectin class- AbstractExpression
 
- 
disconnectpublic void disconnect()Description copied from interface:ExpressionTells the expression to disconnect from anything it was connected to.- Specified by:
- disconnectin interface- Expression
- Overrides:
- disconnectin class- AbstractExpression
 
- 
shutdownpublic void shutdown()Description copied from interface:ExpressionTells the expression to shutdown any polling operations.- Specified by:
- shutdownin interface- Expression
- Overrides:
- shutdownin class- AbstractExpression
 
- 
startuppublic void startup()Description copied from interface:ExpressionTells the expression to startup any polling operations. Expressions that use this can remember the updateListener from connect() to feed update notification to.- Specified by:
- startupin interface- Expression
- Overrides:
- startupin class- AbstractExpression
 
- 
executeDescription copied from interface:ExpressionCompute and return the value of this expression- Throws:
- ExpressionException
 
- 
getTypeDescription copied from interface:ExpressionReturn the type that this expression will return
- 
getOpNameDescription copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs
- 
getFunc
- 
getFuncName
- 
setFunc
- 
setFuncName
 
-