Class UpdateModelCheckDefinition
java.lang.Object
java.util.concurrent.CompletableFuture<com.fasterxml.jackson.databind.node.ObjectNode>
nl.bimbase.bimworks.client.Task<com.fasterxml.jackson.databind.node.ObjectNode>
nl.bimbase.bimworks.client.UpdateModelCheckDefinition
- All Implemented Interfaces:
CompletionStage<com.fasterxml.jackson.databind.node.ObjectNode>, Future<com.fasterxml.jackson.databind.node.ObjectNode>
public class UpdateModelCheckDefinition
extends Task<com.fasterxml.jackson.databind.node.ObjectNode>
-
Nested Class Summary
Nested classes/interfaces inherited from class CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
Constructor Summary
ConstructorsConstructorDescriptionUpdateModelCheckDefinition(BimWorksClient bimWorksClient, UUID uuid, String name, String input) -
Method Summary
Methods inherited from class Task
convert, createAsyncTask, createRequest, executeAsync, get, get, getBimWorksClient, getClientTask, getRequest, join, setProgressListener, setTimeOutModifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.node.ObjectNodeconvert(nl.sascom.backplane.common.Response response) Converts the rawResponseinto this task's result type.nl.sascom.backplane.common.ClientTaskcreateAsyncTask(BimWorksClient bimWorksClient) nl.sascom.backplane.common.RequestcreateRequest(int defaultTimeOut, TimeUnit defaultTimeUnit) Task<com.fasterxml.jackson.databind.node.ObjectNode> Sends the request.com.fasterxml.jackson.databind.node.ObjectNodeget()Waits for the result, bounded by the request's own timeout.com.fasterxml.jackson.databind.node.ObjectNodenl.sascom.backplane.client.AsyncTasknl.sascom.backplane.common.Requestcom.fasterxml.jackson.databind.node.ObjectNodejoin()LikeCompletableFuture.join(), but bounded by the request's own timeout (seeTask.get()) and responsive to interrupts, which are rethrown wrapped in aCompletionExceptionafter restoring the interrupt flag.voidsetProgressListener(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, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, 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
-
UpdateModelCheckDefinition
public UpdateModelCheckDefinition(BimWorksClient bimWorksClient, UUID uuid, String name, String input)
-
-
Method Details
-
createRequest
public nl.sascom.backplane.common.Request createRequest()- Overrides:
createRequestin classTask<com.fasterxml.jackson.databind.node.ObjectNode>
-