Class ExpiryStatus
- java.lang.Object
-
- com.atlassian.bamboo.deployments.expiry.ExpiryStatus
-
public class ExpiryStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description ExpiryStatus(boolean expiryRunning, Boolean lastRunSuccessful, Date lastStartedDate, Date lastFinishedDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Date
getLastFinishedDate()
@Nullable Date
getLastStartedDate()
boolean
isExpiryRunning()
@Nullable Boolean
isLastRunSuccessful()
-
-
-
Method Detail
-
getLastStartedDate
@Nullable public @Nullable Date getLastStartedDate()
-
getLastFinishedDate
@Nullable public @Nullable Date getLastFinishedDate()
- Returns:
- date of last expiry run end date or null if never finished or currently in progress
-
isLastRunSuccessful
@Nullable public @Nullable Boolean isLastRunSuccessful()
- Returns:
- true if last run successful, false if not, null if never run or currently in progress
-
isExpiryRunning
public boolean isExpiryRunning()
- Returns:
- true if background expiration is running
-
-