Class MockRunner

java.lang.Object
com.pulumi.test.internal.MockRunner
All Implemented Interfaces:
com.pulumi.deployment.internal.Runner

public class MockRunner extends Object implements com.pulumi.deployment.internal.Runner
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.pulumi.deployment.internal.Runner

    com.pulumi.deployment.internal.Runner.Result<T extends Object>
  • Field Summary

    Fields inherited from interface com.pulumi.deployment.internal.Runner

    ProcessExitedAfterLoggingUserActionableMessage, ProcessExitedBeforeLoggingUserActionableMessage, ProcessExitedSuccessfully
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    registerTask(String description, CompletableFuture<T> task)
     
    <T> CompletableFuture<com.pulumi.deployment.internal.Runner.Result<T>>
    runAsync(Supplier<T> callback)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MockRunner

      public MockRunner()
  • Method Details

    • registerTask

      public <T> void registerTask(String description, CompletableFuture<T> task)
      Specified by:
      registerTask in interface com.pulumi.deployment.internal.Runner
    • runAsync

      public <T> CompletableFuture<com.pulumi.deployment.internal.Runner.Result<T>> runAsync(Supplier<T> callback)
      Specified by:
      runAsync in interface com.pulumi.deployment.internal.Runner