public interface BuildExpiryBean
Modifier and Type | Method and Description |
---|---|
long |
expireAllBuilds()
Deprecated.
since 5.8 use
triggerBuildExpiry() |
long |
expirePlan(BuildExpiryConfig config,
Plan plan,
ResultsSummary lastResultsSummary)
Deprecated.
since 5.8 use
triggerBuildExpiry() |
Date |
getLastRunDate()
Deprecated.
since 5.7 use
getStatus() |
ExpiryStatus |
getStatus() |
boolean |
isBuildExpiryRunning()
Deprecated.
since 5.7 use
getStatus() |
Future<Long> |
triggerBuildExpiry()
Triggers build expiry process, which loops through all plans and expires their builds.
|
@Deprecated long expireAllBuilds()
triggerBuildExpiry()
@NotNull Future<Long> triggerBuildExpiry()
@Deprecated long expirePlan(@NotNull BuildExpiryConfig config, @NotNull Plan plan, @NotNull ResultsSummary lastResultsSummary)
triggerBuildExpiry()
BuildExpiryConfig
object. All params are requiredconfig
- - how should things be expiredplan
- - build to expirelastResultsSummary
- - the last build results summary to take all the relative time to@Deprecated boolean isBuildExpiryRunning()
getStatus()
@Nullable @Deprecated Date getLastRunDate()
getStatus()
@NotNull ExpiryStatus getStatus()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.