Source code for /engineering/autohit-1998/autohit/vm/VMIExec.javaOriginal file VMIExec.java
   1 /**
   2  * .
   3  * Copyright � 1999 Erich P G.
   4  *
   5  */
   6  
   7 package autohit.vm;
   8 
   9 import java.io.Serializable;
  10 
  11 /**
  12  * A Virtual Machine instruction.  This is a Exec verification.  This allows
  13  * the use of external classes or executables.  The implementation is up to the
  14  * specific verification method/object.
  15  *
  16  * @see autohit.vm.VMInstruction
  17  *
  18  * @author Erich P. Gatejen
  19  * @version 1.0
  20  * <i>Version History</i>
  21  * <code>EPG - Initial - 4Feb99</code> 
  22  * 
  23  */
  24 public class VMIExec extends VMInstruction {
  25 	
  26 	// --- FINAL FIELDS ------------------------------------------------------	
  27 
  28 	// --- FIELDS ------------------------------------------------------------
  29 
  30     /**
  31      *  The invocation.
  32      *  @serial
  33      */      	    
  34     public String       invocation;
  35     
  36     /**
  37      *  Any content.
  38      *  @serial
  39      */      	    
  40     public String       content;
  41 
  42 	// --- PUBLIC METHODS ----------------------------------------------------	
  43 
  44     /**
  45      *  Default constructor.
  46      */ 
  47     public VMIExec() {
  48         nToken = VMInstruction.EXEC;
  49     }
  50 
  51     /**
  52      *  Dump this Instruction.  Mostly for debugging.
  53      *
  54      *  @return a String containing the dump.
  55      */
  56     public String toString() {
  57         StringBuffer d = new StringBuffer();        
  58         d.append(" VMIExec --------------------------- \n");
  59         d.append("    invocation = [" + invocation + "]\n");
  60         d.append("    content = [" + content + "]\n");
  61         return d.toString();                
  62     }
  63     
  64 	// --- PRIVATE METHODS ---------------------------------------------------
  65 
  66 }