Uses of Class
software.amazon.lambda.durable.testing.LocalDurableTestRunner

Packages that use LocalDurableTestRunner
  • Uses of LocalDurableTestRunner in software.amazon.lambda.durable.testing

    Modifier and Type
    Method
    Description
    static <I, O> LocalDurableTestRunner<I,O>
    LocalDurableTestRunner.create(Class<I> inputType, BiFunction<I,software.amazon.lambda.durable.DurableContext,O> handlerFn)
    Creates a LocalDurableTestRunner with default configuration.
    static <I, O> LocalDurableTestRunner<I,O>
    LocalDurableTestRunner.create(Class<I> inputType, BiFunction<I,software.amazon.lambda.durable.DurableContext,O> handlerFn, software.amazon.lambda.durable.DurableConfig config)
    Creates a LocalDurableTestRunner that uses a custom configuration.
    static <I, O> LocalDurableTestRunner<I,O>
    LocalDurableTestRunner.create(Class<I> inputType, software.amazon.lambda.durable.DurableHandler<I,O> handler)
    Creates a LocalDurableTestRunner from a DurableHandler instance, automatically extracting the configuration.
    static <I, O> LocalDurableTestRunner<I,O>
    LocalDurableTestRunner.create(software.amazon.lambda.durable.TypeToken<I> inputType, BiFunction<I,software.amazon.lambda.durable.DurableContext,O> handlerFn)
    Creates a LocalDurableTestRunner with default configuration.
    static <I, O> LocalDurableTestRunner<I,O>
    LocalDurableTestRunner.create(software.amazon.lambda.durable.TypeToken<I> inputType, BiFunction<I,software.amazon.lambda.durable.DurableContext,O> handlerFn, software.amazon.lambda.durable.DurableConfig config)
    Creates a LocalDurableTestRunner that uses a custom configuration.
    static <I, O> LocalDurableTestRunner<I,O>
    LocalDurableTestRunner.create(software.amazon.lambda.durable.TypeToken<I> inputType, software.amazon.lambda.durable.DurableHandler<I,O> handler)
    Creates a LocalDurableTestRunner from a DurableHandler instance, automatically extracting the configuration.
    LocalDurableTestRunner.withDurableConfig(software.amazon.lambda.durable.DurableConfig config)
    Overrides the DurableConfig for this test runner.
    LocalDurableTestRunner.withOutputType(Class<O> outputType)
    Overrides the output type for this test runner.
    LocalDurableTestRunner.withOutputType(software.amazon.lambda.durable.TypeToken<O> outputType)
    Overrides the output type for this test runner.