org.ow2.clif.scenario.isac.engine.instructions
Class NChoiceInstruction

java.lang.Object
  extended by org.ow2.clif.scenario.isac.engine.instructions.Instruction
      extended by org.ow2.clif.scenario.isac.engine.instructions.NChoiceInstruction

public class NChoiceInstruction
extends Instruction

Author:
Emmanuel Varoquaux

Nested Class Summary
static class NChoiceInstruction.Choice
           
 
Field Summary
 java.util.ArrayList choices
           
 int total
           
 
Fields inherited from class org.ow2.clif.scenario.isac.engine.instructions.Instruction
CONTROL, EXIT, GOTO, NCHOICE, SAMPLE, TEST, TIMER
 
Constructor Summary
NChoiceInstruction(int total, java.util.ArrayList choices)
           
 
Method Summary
 int getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

total

public int total

choices

public java.util.ArrayList choices
Constructor Detail

NChoiceInstruction

public NChoiceInstruction(int total,
                          java.util.ArrayList choices)
Method Detail

getType

public int getType()
Specified by:
getType in class Instruction

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object