Class ExpirySettingsResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.resource.ExpirySettingsResource
-
@Singleton public class ExpirySettingsResource extends Object
Provides information about some aspects of global expiry settings. If global expiration settings should be modified look atCombinedExpiryResource
.
-
-
Constructor Summary
Constructors Constructor Description ExpirySettingsResource(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, BuildDefinitionManager buildDefinitionManager, CachedPlanManager cachedPlanManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PaginationService paginationService, PlanManager planManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestPageModel<PlanWithCustomExpirySettings>
findPlansWithCustomExpirySettings(PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo)
javax.ws.rs.core.Response
removePlanCustomExpirySettings(@Nullable String planKey)
-
-
-
Constructor Detail
-
ExpirySettingsResource
@Inject public ExpirySettingsResource(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, BuildDefinitionManager buildDefinitionManager, CachedPlanManager cachedPlanManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PaginationService paginationService, PlanManager planManager)
-
-
Method Detail
-
findPlansWithCustomExpirySettings
public RestPageModel<PlanWithCustomExpirySettings> findPlansWithCustomExpirySettings(@Context PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo)
-
removePlanCustomExpirySettings
public javax.ws.rs.core.Response removePlanCustomExpirySettings(@Nullable @Nullable String planKey) throws WebValidationException
- Throws:
WebValidationException
-
-