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, UpdateModelCheckDefinition

public abstract class Task<T> extends CompletableFuture<T>
  • Constructor Details

  • Method Details

    • createRequest

      public nl.sascom.backplane.common.Request createRequest()
    • createRequest

      public nl.sascom.backplane.common.Request createRequest(int defaultTimeOut, TimeUnit defaultTimeUnit)
    • setTimeOut

      public void setTimeOut(long timeOutValue, TimeUnit timeOutUnit)
    • createAsyncTask

      public nl.sascom.backplane.common.ClientTask createAsyncTask(BimWorksClient bimWorksClient)
    • getRequest

      public nl.sascom.backplane.common.Request getRequest()
    • setProgressListener

      public void setProgressListener(nl.sascom.backplane.common.ProgressListener progressListener)
    • executeAsync

      public Task<T> executeAsync()
    • getClientTask

      public nl.sascom.backplane.client.AsyncTask getClientTask() throws BimWorksException
      Throws:
      BimWorksException
    • getBimWorksClient

      public BimWorksClient getBimWorksClient()