Class RuleData

java.lang.Object
org.csstudio.opibuilder.script.RuleData
All Implemented Interfaces:
IAdaptable

public class RuleData extends Object implements IAdaptable
Data of a rule.
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public final String getName()
    • setName

      public void setName(String name)
    • getPropId

      public final String getPropId()
    • setPropId

      public void setPropId(String propId)
    • setOutputExpValue

      public void setOutputExpValue(boolean outputExpValue)
    • isOutputExpValue

      public boolean isOutputExpValue()
    • getExpressionList

      public List<Expression> getExpressionList()
    • addExpression

      public void addExpression(Expression exp)
    • removeExpression

      public void removeExpression(Expression exp)
    • getPVList

      public List<PVTuple> getPVList()
      Get the input PVs of the script
    • addPV

      public void addPV(PVTuple pvTuple)
    • removePV

      public void removePV(PVTuple pvTuple)
    • generateScript

      public String generateScript()
      Generate the Javascript string for this rule.
    • getCopy

      public RuleData getCopy()
    • getProperty

      public AbstractWidgetProperty<?> getProperty()
    • convertToScriptData

      public RuleScriptData convertToScriptData()
      Convert this RuleData to RuleScriptData so that the scriptEngine code can be reused for running rules.
    • getAdapter

      public <T> T getAdapter(Class<T> adapter)
      Specified by:
      getAdapter in interface IAdaptable
    • getWidgetModel

      public AbstractWidgetModel getWidgetModel()