public final class JobUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <R extends Resource<JobEntity>> |
waitForCompletion(CloudFoundryClient cloudFoundryClient,
R resource)
Waits for a job to complete
|
public static <R extends Resource<JobEntity>> Mono<Void> waitForCompletion(CloudFoundryClient cloudFoundryClient, R resource)
R - the Job resource typecloudFoundryClient - the client to use to request job statusresource - the resource representing the jobonComplete once job has completedCopyright © 2016 Pivotal Software, Inc.. All rights reserved.