|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.safs.model.AbstractTestRecord
org.safs.model.AbstractCommand
public abstract class AbstractCommand
Superclass of all command types of classes (versus test table types of classes). Keeps track of the command name and record type for the command.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
AbstractCommand(java.lang.String commandName,
java.lang.String testRecordID)
Invoked from subclasses when instancing new commands. |
| Method Summary | |
|---|---|
protected java.lang.StringBuffer |
appendCommandToTestRecord(java.lang.StringBuffer sb,
java.lang.String fieldSeparator)
Called by exportTestRecord() after the testRecordID() and a field separator have been appended to the StringBuffer. |
java.lang.String |
exportTestRecord(java.lang.String fieldSeparator)
TestRecordExporter interface implementation. |
java.lang.String |
getCommandName()
Returns the string name of the command. |
java.lang.String |
getTestRecordID()
Returns the string record type for this command. |
| Methods inherited from class org.safs.model.AbstractTestRecord |
|---|
addParameter, addParameters, appendParametersToTestRecord, getParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractCommand(java.lang.String commandName,
java.lang.String testRecordID)
commandName - -- the name of the command ("SetApplicationMap", etc.)testRecordID - -- the record type of the command ("T", "C", etc.)
java.lang.IllegalArgumentException - if specified parameters are null or zero-length| Method Detail |
|---|
public java.lang.String getCommandName()
public java.lang.String getTestRecordID()
public java.lang.String exportTestRecord(java.lang.String fieldSeparator)
fieldSeparator - used to delimit fields in test record
protected java.lang.StringBuffer appendCommandToTestRecord(java.lang.StringBuffer sb,
java.lang.String fieldSeparator)
sb - StringBuffer to append fields tofieldSeparator - character to append in between fields
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||