return REQUIRES_AUTHORIZATION;
}
ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();
ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();
Project project = getContinuum().getProject( projectId );
releaseManager.rollback( releaseId, workingDirectoryService.getWorkingDirectory( project ).getPath(), listener );
//recurse until rollback is finished
while ( listener.getState() != ContinuumReleaseManagerListener.FINISHED )
{
try
{
Thread.sleep( 1000 );
}