@Override protected OAuth2AccessToken runInWait(IProgressMonitor monitor) throws CoreException { // Do not wrap CloudFoundryException or RestClientException in a // CoreException. // as they are uncaught exceptions and can be inspected directly // by the shouldRetryOnError(..) method. return operations.login(); }
@Override protected Void doRun(CloudFoundryOperations client, SubMonitor progress) throws CoreException { client.login(); return null; } }.run(monitor);