Class VariableOperandDescriptor
java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.OperandDescriptor
COM.TIBCO.hawk.config.rbengine.rulebase.VariableOperandDescriptor
Used to describe variable list operands.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableOperandDescriptor(String name, String type, String desc, int min, int max) Constructs a Variable OperandDescriptor -
Method Summary
Methods inherited from class COM.TIBCO.hawk.config.rbengine.rulebase.OperandDescriptor
getDescription, getName, getType
-
Field Details
-
CNAME
-
-
Constructor Details
-
VariableOperandDescriptor
Constructs a Variable OperandDescriptor- Parameters:
name- the name of the operandtype- the fully quallified classname of the operand's typedesc- a description of the operand's purposemin- the minimum number of required variable operandsmax- the maximum number of required variable operands- Throws:
IllegalArgumentException- if any of the arguments are nullIllegalArgumentException- if negative numbers are used for min/maxIllegalArgumentException- if min>max
-
-
Method Details
-
getMin
public int getMin()Retrieves the min value -
getMax
public int getMax()Retrieves the max value -
toString
Returns a string representation of this object- Overrides:
toStringin classOperandDescriptor
-