Package org.csstudio.opibuilder.script
Class RuleData
java.lang.Object
org.csstudio.opibuilder.script.RuleData
- All Implemented Interfaces:
IAdaptable
Data of a rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExpression(Expression exp) voidConvert thisRuleDatatoRuleScriptDataso that the scriptEngine code can be reused for running rules.Generate the Javascript string for this rule.<T> TgetAdapter(Class<T> adapter) getCopy()final StringgetName()final StringGet the input PVs of the scriptbooleanvoidvoidvoidvoidsetOutputExpValue(boolean outputExpValue) void
-
Field Details
-
QUOTE
- See Also:
-
-
Constructor Details
-
RuleData
-
-
Method Details
-
getName
-
setName
-
getPropId
-
setPropId
-
setOutputExpValue
public void setOutputExpValue(boolean outputExpValue) -
isOutputExpValue
public boolean isOutputExpValue() -
getExpressionList
-
addExpression
-
removeExpression
-
getPVList
Get the input PVs of the script -
addPV
-
removePV
-
generateScript
Generate the Javascript string for this rule. -
getCopy
-
getProperty
-
convertToScriptData
Convert thisRuleDatatoRuleScriptDataso that the scriptEngine code can be reused for running rules. -
getAdapter
- Specified by:
getAdapterin interfaceIAdaptable
-
getWidgetModel
-