public class StatusCounter extends StatusInfo implements StatusCounterInterface
generalfailures, generalpasses, generalwarnings, iofailures, skippedrecords, suspended, testfailures, testlevel, testpasses, testwarnings, totalrecords, trackingComment, trackingStatus, trackingSystem
Constructor and Description |
---|
StatusCounter()
Constructor for StatusCounter
|
StatusCounter(java.lang.String testlevel,
long totalrecords,
long skippedrecords,
long iofailures,
long testfailures,
long testwarnings,
long testpasses,
long generalfailures,
long generalwarnings,
long generalpasses,
boolean suspended)
Constructor for StatusCounter
|
Modifier and Type | Method and Description |
---|---|
void |
addStatus(StatusInterface counter)
If counts are not suspended, add the provided counter to this counter.
|
long |
incrementGeneralFailures()
If counts are not suspended, increments the count for both general failures and total records.
|
long |
incrementGeneralPasses()
If counts are not suspended, increments the count for both general passes and total records.
|
long |
incrementGeneralWarnings()
If counts are not suspended, increments the count for both general warnings and total records.
|
long |
incrementIOFailures()
If counts are not suspended, increments the count for both iofailures and total records.
|
long |
incrementSkippedRecords()
If counts are not suspended, increments the count for both skipped records and total records.
|
long |
incrementTestFailures()
If counts are not suspended, increments the count for both test failures and total records.
|
long |
incrementTestIOFailures()
If counts are not suspended, increments the count for iofailures, test failures, and total records.
|
long |
incrementTestPasses()
If counts are not suspended, increments the count for both test passes and total records.
|
long |
incrementTestWarnings()
If counts are not suspended, increments the count for both test warnings and total records.
|
void |
setSuspended(boolean suspend)
set or clear the suspended status.
|
getGeneralFailures, getGeneralPasses, getGeneralWarnings, getIOFailures, getSkippedRecords, getTestFailures, getTestLevel, getTestPasses, getTestWarnings, getTotalRecords, getTrackingComment, getTrackingStatus, getTrackingSystem, isSuspended, setTestLevel, setTrackingComment, setTrackingStatus, setTrackingSystem
public StatusCounter()
public StatusCounter(java.lang.String testlevel, long totalrecords, long skippedrecords, long iofailures, long testfailures, long testwarnings, long testpasses, long generalfailures, long generalwarnings, long generalpasses, boolean suspended)
public void setSuspended(boolean suspend)
setSuspended
in interface StatusCounterInterface
public long incrementSkippedRecords()
public long incrementIOFailures()
public long incrementTestIOFailures()
public long incrementTestFailures()
public long incrementTestWarnings()
public long incrementTestPasses()
public long incrementGeneralFailures()
public long incrementGeneralWarnings()
public long incrementGeneralPasses()
public void addStatus(StatusInterface counter)
addStatus
in interface StatusCounterInterface
Copyright © SAS Institute. All Rights Reserved.