Interface RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder

    • Method Detail

      • allowContextMapAll

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder allowContextMapAll​(boolean allowContextMapAll)
        Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        allowContextMapAll - the value to set
        Returns:
        the dsl builder
      • allowTemplateFromHeader

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder allowTemplateFromHeader​(boolean allowTemplateFromHeader)
        Whether to allow to use resource template from header or not (default false). Enabling this allows to specify dynamic templates via message header. However this can be seen as a potential security vulnerability if the header is coming from a malicious user, so use this with care. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        allowTemplateFromHeader - the value to set
        Returns:
        the dsl builder
      • dryrun

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder dryrun​(boolean dryrun)
        Sets dryrun mode on use. In the dry run mode tests are run without executing keywords originating from test libraries. Useful for validating test data syntax. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        dryrun - the value to set
        Returns:
        the dsl builder
      • exitOnFailure

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder exitOnFailure​(boolean exitOnFailure)
        Sets robot to stop execution immediately if a critical test fails. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        exitOnFailure - the value to set
        Returns:
        the dsl builder
      • listeners

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder listeners​(String listeners)
        Sets multiple listeners for monitoring tests execution. Use the format ListenerWithArgs:arg1:arg2 or simply ListenerWithoutArgs List. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        listeners - the value to set
        Returns:
        the dsl builder
      • monitorColors

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder monitorColors​(String monitorColors)
        Using ANSI colors in console. Normally colors work in unixes but not in Windows. Default is 'on'. 'on' - use colors in unixes but not in Windows 'off' - never use colors 'force' - always use colors (also in Windows). The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        monitorColors - the value to set
        Returns:
        the dsl builder
      • noStatusReturnCode

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder noStatusReturnCode​(boolean noStatusReturnCode)
        If true, sets the return code to zero regardless of failures in test cases. Error codes are returned normally. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        noStatusReturnCode - the value to set
        Returns:
        the dsl builder
      • runEmptySuite

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder runEmptySuite​(boolean runEmptySuite)
        Executes tests also if the top level test suite is empty. Useful e.g. with --include/--exclude when it is not an error that no test matches the condition. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        runEmptySuite - the value to set
        Returns:
        the dsl builder
      • runMode

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder runMode​(String runMode)
        Sets the execution mode for this tests run. Note that this setting has been deprecated in Robot Framework 2.8. Use separate dryryn, skipTeardownOnExit, exitOnFailure, and randomize settings instead. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        runMode - the value to set
        Returns:
        the dsl builder
      • skipTeardownOnExit

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder skipTeardownOnExit​(boolean skipTeardownOnExit)
        Sets whether the teardowns are skipped if the test execution is prematurely stopped. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        skipTeardownOnExit - the value to set
        Returns:
        the dsl builder
      • tagStatExcludes

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder tagStatExcludes​(String tagStatExcludes)
        Excludes these tags from the Statistics by Tag and Test Details by Tag tables in outputs. List. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        tagStatExcludes - the value to set
        Returns:
        the dsl builder
      • tagStatIncludes

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder tagStatIncludes​(String tagStatIncludes)
        Includes only these tags in the Statistics by Tag and Test Details by Tag tables in outputs. List. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        tagStatIncludes - the value to set
        Returns:
        the dsl builder
      • tagStatLinks

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder tagStatLinks​(String tagStatLinks)
        Adds external links to the Statistics by Tag table in outputs. Use the format pattern:link:title List. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        tagStatLinks - the value to set
        Returns:
        the dsl builder
      • warnOnSkippedFiles

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder warnOnSkippedFiles​(boolean warnOnSkippedFiles)
        Show a warning when an invalid file is skipped. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        warnOnSkippedFiles - the value to set
        Returns:
        the dsl builder
      • xunitFile

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder xunitFile​(File xunitFile)
        Sets the path to the generated XUnit compatible result file, relative to outputDirectory. The file is in xml format. By default, the file name is derived from the testCasesDirectory parameter, replacing blanks in the directory name by underscores. The option is a: <code>java.io.File</code> type. Group: common
        Parameters:
        xunitFile - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • autowiredEnabled

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        autowiredEnabled - the value to set
        Returns:
        the dsl builder
      • configuration

        default RobotframeworkComponentBuilderFactory.RobotframeworkComponentBuilder configuration​(org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration configuration)
        The configuration. The option is a: <code>org.apache.camel.component.robotframework.RobotFrameworkCamelConfiguration</code> type. Group: advanced
        Parameters:
        configuration - the value to set
        Returns:
        the dsl builder