com.metamatrix.core.commandshell
Class ScriptCommandTarget
java.lang.Object
com.metamatrix.core.commandshell.CommandTarget
com.metamatrix.core.commandshell.ScriptCommandTarget
- All Implemented Interfaces:
- StringUtil.Constants
- Direct Known Subclasses:
- QueryCommandTarget
public class ScriptCommandTarget
- extends CommandTarget
- implements StringUtil.Constants
Base command target class with scripting support.
Fields inherited from interface com.metamatrix.core.util.StringUtil.Constants |
CARRIAGE_RETURN, CARRIAGE_RETURN_CHAR, DBL_SPACE, DOT, DOT_CHAR, EMPTY_STRING, EMPTY_STRING_ARRAY, LINE_FEED, LINE_FEED_CHAR, NEW_LINE, NEW_LINE_CHAR, PATTERN_BACK_SLASH, PATTERN_QUESTION, PATTERN_STAR, SPACE, SPACE_CHAR, TAB, TAB_CHAR |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_PREFIX
protected static final java.lang.String TEST_PREFIX
- See Also:
- Constant Field Values
testFailureCount
protected int testFailureCount
testCount
protected int testCount
SETUP_SCRIPT
protected static final java.lang.String SETUP_SCRIPT
- See Also:
- Constant Field Values
testFailureMessage
protected java.lang.StringBuffer testFailureMessage
ScriptCommandTarget
public ScriptCommandTarget()
setScriptFile
public void setScriptFile(java.lang.String scriptFileName)
hasSetupScript
protected boolean hasSetupScript(java.lang.String fileName)
runningScript
protected void runningScript(java.lang.String fileName)
- Overrides:
runningScript
in class CommandTarget
run
public java.lang.String run(java.lang.String scriptName)
runScript
public java.lang.String runScript(java.lang.String fileName,
java.lang.String scriptName)
resetTestStatistics
protected void resetTestStatistics()
runAll
public java.lang.String runAll()
getTestSummary
protected java.lang.String getTestSummary()
runRep
public void runRep(int repCount,
java.lang.String scriptName)
setSilent
public void setSilent(boolean silent)
clone
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2009. All Rights Reserved.