public abstract class AbstractTestRecord extends java.lang.Object implements TestRecordParametersInterface
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
_parameters |
static java.lang.String |
BLOCKID_RECORD_TYPE
'B'
|
static java.lang.String |
BREAKPOINT_RECORD_TYPE
'BP'
|
static java.lang.String |
COMPONENT_FUNCTION_FAILOK_RECORD_TYPE
'TF'
|
static java.lang.String |
COMPONENT_FUNCTION_RECORD_TYPE
'T'
|
static java.lang.String |
COMPONENT_FUNCTION_WARNOK_RECORD_TYPE
'TW'
|
static java.lang.String |
DRIVER_COMMAND_FAILOK_RECORD_TYPE
'CF'
|
static java.lang.String |
DRIVER_COMMAND_RECORD_TYPE
'C'
|
static java.lang.String |
DRIVER_COMMAND_WARNOK_RECORD_TYPE
'CW'
|
static java.lang.String |
EMPTY_PARAMETER
Identifies an empty value that can be specified for optional parameters.
|
static java.lang.String |
ENGINE_COMMAND_FAILOK_RECORD_TYPE
'EF'
|
static java.lang.String |
ENGINE_COMMAND_RECORD_TYPE
'E'
|
static java.lang.String |
ENGINE_COMMAND_WARNOK_RECORD_TYPE
'EW'
|
static java.lang.String |
PROJECT_COMMAND_RECORD_TYPE
'T'
|
static java.lang.String |
SKIPPED_RECORD_TYPE
'S'
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractTestRecord()
Initializes our parameters list with an empty List.
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(java.lang.String parameter)
Add a parameter to the current list of parameters associated with the record.
|
void |
addParameters(java.lang.String[] parameters)
Add an array of parameters to the current list of parameters associated with the record.
|
java.lang.StringBuffer |
appendParametersToTestRecord(java.lang.StringBuffer buffer,
java.lang.String fieldSeparator)
Appends all record or table invocation parameters to the provided buffer.
|
java.util.List |
getParameters()
Retrieve the unmodifiableList of parameters associated with the record.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportTestRecord
public static final java.lang.String EMPTY_PARAMETER
public static final java.lang.String BLOCKID_RECORD_TYPE
public static final java.lang.String BREAKPOINT_RECORD_TYPE
public static final java.lang.String COMPONENT_FUNCTION_RECORD_TYPE
public static final java.lang.String COMPONENT_FUNCTION_WARNOK_RECORD_TYPE
public static final java.lang.String COMPONENT_FUNCTION_FAILOK_RECORD_TYPE
public static final java.lang.String DRIVER_COMMAND_RECORD_TYPE
public static final java.lang.String DRIVER_COMMAND_WARNOK_RECORD_TYPE
public static final java.lang.String DRIVER_COMMAND_FAILOK_RECORD_TYPE
public static final java.lang.String ENGINE_COMMAND_RECORD_TYPE
public static final java.lang.String ENGINE_COMMAND_WARNOK_RECORD_TYPE
public static final java.lang.String ENGINE_COMMAND_FAILOK_RECORD_TYPE
public static final java.lang.String PROJECT_COMMAND_RECORD_TYPE
public static final java.lang.String SKIPPED_RECORD_TYPE
protected java.util.List _parameters
protected AbstractTestRecord()
public java.util.List getParameters()
getParameters
in interface TestRecordParametersInterface
public void addParameter(java.lang.String parameter)
addParameter
in interface TestRecordParametersInterface
parameter
- -- null parameters are converted to EMPTY_PARAMETERspublic void addParameters(java.lang.String[] parameters)
addParameters
in interface TestRecordParametersInterface
String[]
- parameters -- if null then no action is takenpublic java.lang.StringBuffer appendParametersToTestRecord(java.lang.StringBuffer buffer, java.lang.String fieldSeparator)
appendParametersToTestRecord
in interface TestRecordParametersInterface
buffer
- -- the test record export string being built by the export mechanismfieldSeparator
- -- the delimiter used between test record fieldsCopyright © SAS Institute. All Rights Reserved.