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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExpression
(Expression exp) void
Convert thisRuleData
toRuleScriptData
so that the scriptEngine code can be reused for running rules.Generate the Javascript string for this rule.<T> T
getAdapter
(Class<T> adapter) getCopy()
final String
getName()
final String
Get the input PVs of the scriptboolean
void
void
void
void
setOutputExpValue
(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 thisRuleData
toRuleScriptData
so that the scriptEngine code can be reused for running rules. -
getAdapter
- Specified by:
getAdapter
in interfaceIAdaptable
-
getWidgetModel
-