Class VariableOperandDescriptor

java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.OperandDescriptor
COM.TIBCO.hawk.config.rbengine.rulebase.VariableOperandDescriptor

public class VariableOperandDescriptor extends OperandDescriptor
Used to describe variable list operands.
  • Field Details

    • CNAME

      public static String CNAME
  • Constructor Details

    • VariableOperandDescriptor

      public VariableOperandDescriptor(String name, String type, String desc, int min, int max)
      Constructs a Variable OperandDescriptor
      Parameters:
      name - the name of the operand
      type - the fully quallified classname of the operand's type
      desc - a description of the operand's purpose
      min - the minimum number of required variable operands
      max - the maximum number of required variable operands
      Throws:
      IllegalArgumentException - if any of the arguments are null
      IllegalArgumentException - if negative numbers are used for min/max
      IllegalArgumentException - if min>max
  • Method Details

    • getMin

      public int getMin()
      Retrieves the min value
    • getMax

      public int getMax()
      Retrieves the max value
    • toString

      public String toString()
      Returns a string representation of this object
      Overrides:
      toString in class OperandDescriptor