Class QuarantineStatisticsImpl
- java.lang.Object
-
- com.atlassian.bamboo.resultsummary.tests.QuarantineStatisticsImpl
-
- All Implemented Interfaces:
QuarantineStatistics
public class QuarantineStatisticsImpl extends Object implements QuarantineStatistics
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Date
getQuarantineDate()
@Nullable Date
getQuarantineExpiryDate()
Return the quarantine expiry date for thisTestCase
@NotNull String
getQuarantiningUsername()
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 Detail
-
getQuarantineDate
@NotNull public @NotNull Date getQuarantineDate()
Description copied from interface:QuarantineStatistics
- Specified by:
getQuarantineDate
in interfaceQuarantineStatistics
- Returns:
- The
Date
at which thisTestCase
was quarantined
-
setQuarantineDate
public void setQuarantineDate(@NotNull @NotNull Date date)
Description copied from interface:QuarantineStatistics
- Specified by:
setQuarantineDate
in interfaceQuarantineStatistics
- Parameters:
date
- - Date of quarantine
-
getQuarantiningUsername
@NotNull public @NotNull String 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
public void setQuarantiningUsername(@NotNull @NotNull String username)
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
@Nullable public @Nullable Date 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
public void setQuarantineExpiryDate(@Nullable @Nullable Date date)
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
-
-