Class QuarantineStatisticsImpl
java.lang.Object
com.atlassian.bamboo.resultsummary.tests.QuarantineStatisticsImpl
- All Implemented Interfaces:
QuarantineStatistics
-
Method Summary
Modifier and TypeMethodDescription@NotNull Date
@Nullable Date
Return the quarantine expiry date for thisTestCase
@NotNull String
Return the username of the user that quarantined thisTestCase
void
setQuarantineDate
(@NotNull Date date) void
setQuarantineExpiryDate
(@Nullable Date date) Set the expiry date for thisTestCase
.void
setQuarantiningUsername
(@NotNull String username) Set the username of the user that quarantined thisTestCase
-
Method Details
-
getQuarantineDate
Description copied from interface:QuarantineStatistics
- Specified by:
getQuarantineDate
in interfaceQuarantineStatistics
- Returns:
- The
Date
at which thisTestCase
was quarantined
-
setQuarantineDate
Description copied from interface:QuarantineStatistics
- Specified by:
setQuarantineDate
in interfaceQuarantineStatistics
- Parameters:
date
- - Date of quarantine
-
getQuarantiningUsername
Description copied from interface:QuarantineStatistics
Return the username of the user that quarantined thisTestCase
- Specified by:
getQuarantiningUsername
in interfaceQuarantineStatistics
- Returns:
- The username of the quarantining user
-
setQuarantiningUsername
Description copied from interface:QuarantineStatistics
Set the username of the user that quarantined thisTestCase
- Specified by:
setQuarantiningUsername
in interfaceQuarantineStatistics
- Parameters:
username
- - username of the quarantining user
-
getQuarantineExpiryDate
Description copied from interface:QuarantineStatistics
Return the quarantine expiry date for thisTestCase
- Specified by:
getQuarantineExpiryDate
in interfaceQuarantineStatistics
- Returns:
- quarantine expiration date or null, if it's not set
-
setQuarantineExpiryDate
Description copied from interface:QuarantineStatistics
Set the expiry date for thisTestCase
. Set this value to null for permanent quarantine.- Specified by:
setQuarantineExpiryDate
in interfaceQuarantineStatistics
- Parameters:
date
- expiry date or null value, if this quarantine is permanent
-