public class ScanStatusPoller extends Object
| Constructor and Description |
|---|
ScanStatusPoller(FodApiConnection apiConnection,
boolean isPrettyLogging,
int pollingInterval,
PrintStream logger)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
PollReleaseStatusResult |
pollReleaseStatus(int releaseId)
Polls the release status
|
public ScanStatusPoller(FodApiConnection apiConnection, boolean isPrettyLogging, int pollingInterval, PrintStream logger)
apiConnection - apiConnection connection to useisPrettyLogging - enables fancier formatting for logspollingInterval - the polling interval in minuteslogger - the PrintStream that will be logged topublic PollReleaseStatusResult pollReleaseStatus(int releaseId) throws IOException, InterruptedException
releaseId - release to pollIOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.