public class DriverCommand extends Command
_parameters, BLOCKID_RECORD_TYPE, BREAKPOINT_RECORD_TYPE, COMPONENT_FUNCTION_FAILOK_RECORD_TYPE, COMPONENT_FUNCTION_RECORD_TYPE, COMPONENT_FUNCTION_WARNOK_RECORD_TYPE, DRIVER_COMMAND_FAILOK_RECORD_TYPE, DRIVER_COMMAND_RECORD_TYPE, DRIVER_COMMAND_WARNOK_RECORD_TYPE, EMPTY_PARAMETER, ENGINE_COMMAND_FAILOK_RECORD_TYPE, ENGINE_COMMAND_RECORD_TYPE, ENGINE_COMMAND_WARNOK_RECORD_TYPE, PROJECT_COMMAND_RECORD_TYPE, SKIPPED_RECORD_TYPE
Constructor and Description |
---|
DriverCommand(java.lang.String commandName)
Create a Driver Command instance using the provided command name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTestRecordID()
Returns the string record type for this command.
|
boolean |
isFailureOK()
Indicates if a failure is acceptable for this DriverCommand.
|
boolean |
isWarningOK()
Indicates if a warning is acceptable for this DriverCommand.
|
void |
setFailureOK(boolean newValue)
Sets whether a failure is acceptable for this DriverCommand.
|
void |
setWarningOK(boolean newValue)
Sets whether a warning is acceptable for this DriverCommand.
|
appendCommandToTestRecord, exportTestRecord, getCommandName
addParameter, addParameters, appendParametersToTestRecord, getParameters
public DriverCommand(java.lang.String commandName)
commandName
- -- cannot be null or zero-lengthjava.lang.IllegalArgumentException
- for null or zero-length command namespublic final boolean isWarningOK()
true
if a warning is acceptable, otherwise false
setWarningOK(boolean)
public final void setWarningOK(boolean newValue)
If a warning is set as acceptable, setFailureOK(false)
is called to turn off failures.
newValue
- true
to indicate that warnings are acceptable, otherwise false
isWarningOK()
public final boolean isFailureOK()
true
if a failure is acceptable, otherwise false
setFailureOK(boolean)
public final void setFailureOK(boolean newValue)
If a failure is set as acceptable, setWarningOK(false)
is called to turn off warnings.
newValue
- true
to indicate that failures are acceptable, otherwise false
isFailureOK()
public java.lang.String getTestRecordID()
failureOK
is true
warningOK
is true
failureOK
and warningOK
are false
getTestRecordID
in class AbstractCommand
Copyright © SAS Institute. All Rights Reserved.