Interface TestActionBuilder<T extends TestAction>

All Known Subinterfaces:
TestActionBuilder.DelegatingTestActionBuilder<T>, TestActionContainerBuilder<T,S>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TestActionBuilder<T extends TestAction>
Test action builder.
Since:
2.3
Author:
Christoph Deppisch
  • Field Details

    • logger

      static final org.slf4j.Logger logger
      Logger
    • RESOURCE_PATH

      static final String RESOURCE_PATH
      Endpoint builder resource lookup path
      See Also:
    • TYPE_RESOLVER

      static final ResourcePathTypeResolver TYPE_RESOLVER
      Default Citrus test action builders from classpath resource properties
  • Method Details

    • build

      T build()
      Builds new test action instance.
      Returns:
      the built test action.
    • lookup

      static Map<String,TestActionBuilder<?>> lookup()
      Resolves all available test action builders from resource path lookup. Scans classpath for test action builder meta information and instantiates those builders.
      Returns:
    • lookup

      static Optional<TestActionBuilder<?>> lookup(String builder)
      Resolves test action builder from resource path lookup with given resource name. Scans classpath for test action builder meta information with given name and returns instance of the builder. Returns optional instead of throwing exception when no test action builder could be found. Given builder name is a combination of resource file name and type property separated by '.' character.
      Parameters:
      builder -
      Returns: