public class ProgressFacadeImpl extends Object implements ProgressFacade
| Constructor and Description |
|---|
ProgressFacadeImpl(com.riadalabs.jira.plugins.insight.services.progress.ProgressService progressService) |
| 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.
|
public ProgressFacadeImpl(com.riadalabs.jira.plugins.insight.services.progress.ProgressService progressService)
public Progress getProgress(ProgressId id) throws InsightException
ProgressFacadegetProgress in interface ProgressFacadeInsightExceptionpublic boolean isInProgress(ProgressId id) throws InsightException
ProgressFacadeisInProgress in interface ProgressFacadeInsightExceptionpublic boolean isProgressFinished(ProgressId id) throws InsightException
ProgressFacadeisProgressFinished in interface ProgressFacadeInsightExceptionpublic void waitForProgressToComplete(Progress progress) throws InsightException, InterruptedException
ProgressFacadewaitForProgressToComplete in interface ProgressFacadeInsightExceptionInterruptedExceptionCopyright © 2024 Atlassian. All rights reserved.