org.gusdb.wdk.model.test
Class SanityQuery

java.lang.Object
  extended by org.gusdb.wdk.model.test.SanityQueryOrQuestion
      extended by org.gusdb.wdk.model.test.SanityQuery
All Implemented Interfaces:
SanityElementI

public class SanityQuery
extends SanityQueryOrQuestion
implements SanityElementI

Object used in running a sanity test; represents a query or question in a wdk model. Created: Mon August 23 12:00:00 2004 EDT


Constructor Summary
SanityQuery()
           
 
Method Summary
 java.lang.String getCommand(java.lang.String globalArgs)
          Dump a command-line that can be used to individually test this element, outside of the context of a sanity test (the command line will include all necessary parameters, the values of which will be the same as those that the test attempted to use previously.
 
Methods inherited from class org.gusdb.wdk.model.test.SanityQueryOrQuestion
addParam, getMaxOutputLength, getMinOutputLength, getName, getParam, getParamHash, getParams, getRef, getType, getTypeCap, hasParam, setMaxOutputLength, setMinOutputLength, setRef, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.gusdb.wdk.model.test.SanityElementI
getName, getType
 

Constructor Detail

SanityQuery

public SanityQuery()
Method Detail

getCommand

public java.lang.String getCommand(java.lang.String globalArgs)
                            throws WdkModelException
Description copied from interface: SanityElementI
Dump a command-line that can be used to individually test this element, outside of the context of a sanity test (the command line will include all necessary parameters, the values of which will be the same as those that the test attempted to use previously. This command is usually printed when a sanity test has failed.

Specified by:
getCommand in interface SanityElementI
Specified by:
getCommand in class SanityQueryOrQuestion
Parameters:
globalArgs - Arguments not specific to the Element itself; basically anything in the Sanity test that was required to run all elements.
Throws:
WdkModelException