Class AlarmEventParseContext
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.alarm.AlarmEventParseContext
-
- All Implemented Interfaces:
ExpressionParseContext
public class AlarmEventParseContext extends java.lang.Object implements ExpressionParseContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAlarmEventParseContext.SelectedAlarmEventModel
-
Constructor Summary
Constructors Constructor Description AlarmEventParseContext(FunctionFactory funcFactory, AlarmEventParseContext.SelectedAlarmEventModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressioncreateBoundExpression(java.lang.String path)Called to create expressions to represent bound elements, like:FunctionFactorygetFunctionFactory()
-
-
-
Constructor Detail
-
AlarmEventParseContext
public AlarmEventParseContext(FunctionFactory funcFactory, AlarmEventParseContext.SelectedAlarmEventModel model)
-
-
Method Detail
-
createBoundExpression
public Expression createBoundExpression(java.lang.String path) throws java.lang.RuntimeException
Description copied from interface:ExpressionParseContextCalled to create expressions to represent bound elements, like:{ path.to.something }- Specified by:
createBoundExpressionin interfaceExpressionParseContext- Parameters:
path- the text content inside the braces.- Throws:
java.lang.RuntimeException- because the CUP parser doesn't have a throws on the function that calls this inside the parser
-
getFunctionFactory
public FunctionFactory getFunctionFactory()
- Specified by:
getFunctionFactoryin interfaceExpressionParseContext
-
-