com.atlassian.bamboo.deployments.expiry
Class ExpiryStatus

java.lang.Object
  extended by com.atlassian.bamboo.deployments.expiry.ExpiryStatus

public class ExpiryStatus
extends Object


Constructor Summary
ExpiryStatus(boolean expiryRunning, Boolean lastRunSuccessful, Date lastStartedDate, Date lastFinishedDate)
           
 
Method Summary
 Date getLastFinishedDate()
           
 Date getLastStartedDate()
           
 boolean isExpiryRunning()
           
 Boolean isLastRunSuccessful()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpiryStatus

public ExpiryStatus(boolean expiryRunning,
                    Boolean lastRunSuccessful,
                    Date lastStartedDate,
                    Date lastFinishedDate)
Method Detail

getLastStartedDate

@Nullable
public Date getLastStartedDate()

getLastFinishedDate

@Nullable
public Date getLastFinishedDate()
Returns:
date of last expiry run end date or null if never finished or currently in progress

isLastRunSuccessful

@Nullable
public 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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.