Class Task<T>
java.lang.Object
java.util.concurrent.CompletableFuture<T>
nl.bimbase.bimworks.client.Task<T>
- All Implemented Interfaces:
CompletionStage<T>, Future<T>
- Direct Known Subclasses:
AddModelCheckDefinition, AddModelCheckDefinitionSet, DownloadCheckResultsAsBcfInput, GetModelCheckDefinitionByName, GetModelCheckDefinitionSetByNameInput, GetModelCheckResultsTask, GetModelReportByModelCheckSetUuidTask, GetModelReportTask, ListModelCheckDefinitionsInput, ListModelCheckResultsTask, ModelChecksAvailabilityTask, RunChecksTask, RunCheckTask, RunIdsCheckTask, UpdateModelCheckDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from class CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnl.sascom.backplane.common.ClientTaskcreateAsyncTask(BimWorksClient bimWorksClient) nl.sascom.backplane.common.Requestnl.sascom.backplane.common.RequestcreateRequest(int defaultTimeOut, TimeUnit defaultTimeUnit) nl.sascom.backplane.client.AsyncTasknl.sascom.backplane.common.RequestvoidsetProgressListener(nl.sascom.backplane.common.ProgressListener progressListener) voidsetTimeOut(long timeOutValue, TimeUnit timeOutUnit) Methods inherited from class CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Constructor Details
-
Task
-
-
Method Details
-
createRequest
public nl.sascom.backplane.common.Request createRequest() -
createRequest
public nl.sascom.backplane.common.Request createRequest(int defaultTimeOut, TimeUnit defaultTimeUnit) -
setTimeOut
-
createAsyncTask
-
getRequest
public nl.sascom.backplane.common.Request getRequest() -
setProgressListener
public void setProgressListener(nl.sascom.backplane.common.ProgressListener progressListener) -
executeAsync
-
getClientTask
- Throws:
BimWorksException
-
getBimWorksClient
-