com.atlassian.jira.workflow
Class WorkflowSchemeLock

java.lang.Object
  extended by com.atlassian.jira.workflow.WorkflowSchemeLock

public class WorkflowSchemeLock
extends Object


Constructor Summary
WorkflowSchemeLock()
           
 
Method Summary
 void startUpdate(long schemeId)
           
 void stopUpdate(long schemeId)
           
<T> T
waitForUpdatesToFinishAndExecute(long schemeId, Callable<T> task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowSchemeLock

public WorkflowSchemeLock()
Method Detail

waitForUpdatesToFinishAndExecute

public <T> T waitForUpdatesToFinishAndExecute(long schemeId,
                                              Callable<T> task)
                                   throws Exception
Throws:
Exception

startUpdate

public void startUpdate(long schemeId)

stopUpdate

public void stopUpdate(long schemeId)


Copyright © 2002-2014 Atlassian. All Rights Reserved.