public interface RssDetectionService
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
canEnqueue(long repositoryId)
Checks whether Bamboo can enqueue RSS detection for the given repository.
|
Future<Boolean> |
enqueue(long repositoryId)
Enqueue RSS detection for repository with the given ID.
|
Future<Boolean> |
enqueue(long repositoryId,
boolean force)
Enqueue RSS detection for repository with the given ID.
|
boolean |
isInProgress(long repositoryId) |
Future<Boolean> |
shutdown()
Shut down the RSS detection service and the underlying thread pool.
|
@NotNull ErrorCollection canEnqueue(long repositoryId)
This method will not attempt to connect to the repository. It will only validate repository's configuration and global Bamboo settings.
repositoryId
- ID of the repository@NotNull Future<Boolean> enqueue(long repositoryId)
repositoryId
- ID of the linked repository@NotNull Future<Boolean> enqueue(long repositoryId, boolean force)
repositoryId
- ID of the linked repositoryforce
- if true, specs import is executed even if no new commits are found in the repository@NotNull Future<Boolean> shutdown()
boolean isInProgress(long repositoryId)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.