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
ProgressFacade
getProgress
in interface ProgressFacade
InsightException
public boolean isInProgress(ProgressId id) throws InsightException
ProgressFacade
isInProgress
in interface ProgressFacade
InsightException
public boolean isProgressFinished(ProgressId id) throws InsightException
ProgressFacade
isProgressFinished
in interface ProgressFacade
InsightException
public void waitForProgressToComplete(Progress progress) throws InsightException, InterruptedException
ProgressFacade
waitForProgressToComplete
in interface ProgressFacade
InsightException
InterruptedException
Copyright © 2024 Atlassian. All rights reserved.