@PublicApi
public interface ProgressFacade
Modifier and Type | Method and Description |
---|---|
Progress |
getProgress(ProgressId id)
Get the progress for the current progress id.
|
boolean |
isInProgress(ProgressId id)
Determine if the progress is in progress or not
|
boolean |
isProgressFinished(ProgressId id)
Returns true if the progress is completed.
|
void |
waitForProgressToComplete(Progress progress)
Wait for the progress to complete.
|
Progress getProgress(ProgressId id) throws InsightException
InsightException
boolean isInProgress(ProgressId id) throws InsightException
InsightException
boolean isProgressFinished(ProgressId id) throws InsightException
InsightException
void waitForProgressToComplete(Progress progress) throws InterruptedException, InsightException
InterruptedException
InsightException
Copyright © 2023 Atlassian. All rights reserved.