Interface CamelIntegrationRunCustomizedActionBuilder<T extends TestAction,B extends CamelIntegrationRunCustomizedActionBuilder<T,B>>

All Superinterfaces:
ActionBuilder<T,B>, CamelJBangActionBuilderBase<T,B>, ReferenceResolverAwareBuilder<T,B>, TestActionBuilder<T>

public interface CamelIntegrationRunCustomizedActionBuilder<T extends TestAction,B extends CamelIntegrationRunCustomizedActionBuilder<T,B>> extends CamelJBangActionBuilderBase<T,B>
  • Method Details

    • commands

      B commands(String... commands)
      Runs Camel integration from given source code. More values are used in case more commands have to be used before resources.
    • processName

      B processName(String processName)
      ProcessName to be matched in camel ps. If null, first command is used.
    • addResource

      B addResource(Resource resource)
      Add resource file to the integration run.
    • addResources

      B addResources(Resource... resource)
      Add resource file to the integration run.
    • addResource

      B addResource(String resourcePath)
      Construct resource from given path and add file as resource to the integration run.
    • addResources

      B addResources(String... resourcePaths)
      Add resource file to the integration run.
    • workDir

      B workDir(String workDir)
      Sets work dir, if is null, parent path of the first resource is used.
    • withArg

      B withArg(String arg)
      Adds a command argument.
    • withArg

      B withArg(String name, String value)
      Adds a command argument with name and value.
    • withArgs

      B withArgs(String... args)
      Adds command arguments.
    • withEnv

      B withEnv(String key, String value)
      Adds an environment variable.
    • withEnvs

      B withEnvs(Map<String,String> envVars)
      Adds environment variables.
    • withEnvs

      B withEnvs(Resource envVarsFile)
      Adds environment variables from given file resource.
    • withSystemProperty

      B withSystemProperty(String key, String value)
      Adds a system properties.
    • withSystemProperties

      B withSystemProperties(Map<String,String> systemProperties)
      Adds system properties.
    • withSystemProperties

      B withSystemProperties(Resource systemPropertiesFile)
      Adds system properties from given file resource.
    • dumpIntegrationOutput

      B dumpIntegrationOutput(boolean enabled)
    • autoRemove

      B autoRemove(boolean enabled)
    • waitForRunningState

      B waitForRunningState(boolean enabled)