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 interface
AlarmEventParseContext.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 Expression
createBoundExpression(java.lang.String path)
Called to create expressions to represent bound elements, like:FunctionFactory
getFunctionFactory()
-
-
-
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:ExpressionParseContext
Called to create expressions to represent bound elements, like:{ path.to.something }
- Specified by:
createBoundExpression
in 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:
getFunctionFactory
in interfaceExpressionParseContext
-
-