Enum Theme.Element

    • Enum Constant Detail

      • ATTACHMENT

        public static final Theme.Element ATTACHMENT
        The output from scenario.log and scenario.attach.
      • DATA_TABLE

        public static final Theme.Element DATA_TABLE
        The data table, an optional argument for a step.
      • DATA_TABLE_BORDER

        public static final Theme.Element DATA_TABLE_BORDER
        The data table borders. I.e. the {code |} characters.

        Styles applied to DATA_TABLE are also applied to this element.

      • DATA_TABLE_CONTENT

        public static final Theme.Element DATA_TABLE_CONTENT
        The data table contents. I.e. the individual cell.

        Styles applied to DATA_TABLE are also applied to this element.

      • DOC_STRING

        public static final Theme.Element DOC_STRING
        The doc string, an optional argument for a step.
      • DOC_STRING_CONTENT

        public static final Theme.Element DOC_STRING_CONTENT
        The doc string contents.

        Styles applied to DOC_STRING are also applied to this element.

      • DOC_STRING_MEDIA_TYPE

        public static final Theme.Element DOC_STRING_MEDIA_TYPE
        The doc string media type. E.g. application/json .

        Styles applied to DOC_STRING are also applied to this element.

      • DOC_STRING_DELIMITER

        public static final Theme.Element DOC_STRING_DELIMITER
        The doc string delimiter. I.e. """".

        Styles applied to DOC_STRING are also applied to this element.

      • FEATURE

        public static final Theme.Element FEATURE
        The feature line.
      • FEATURE_KEYWORD

        public static final Theme.Element FEATURE_KEYWORD
        The feature keyword.

        Styles applied to FEATURE are also applied to this element.

      • FEATURE_NAME

        public static final Theme.Element FEATURE_NAME
        The feature name.

        Styles applied to FEATURE are also applied to this element.

      • LOCATION

        public static final Theme.Element LOCATION
        The location comment. E.g. # samples/undefined/undefined.feature:10.

        Styles applied to FEATURE are also applied to this element.

      • RULE_KEYWORD

        public static final Theme.Element RULE_KEYWORD
        The rule keyword.

        Styles applied to RULE are also applied to this element.

      • RULE_NAME

        public static final Theme.Element RULE_NAME
        The rule name.

        Styles applied to RULE are also applied to this element.

      • SCENARIO

        public static final Theme.Element SCENARIO
        The scenario line.
      • SCENARIO_KEYWORD

        public static final Theme.Element SCENARIO_KEYWORD
        The scenario keyword.

        Styles applied to SCENARIO are also applied to this element.

      • SCENARIO_NAME

        public static final Theme.Element SCENARIO_NAME
        The scenario name.

        Styles applied to SCENARIO are also applied to this element.

      • STATUS_ICON

        public static final Theme.Element STATUS_ICON
        The status icon.

        Always used in combination with a TestStepResultStatus.

      • STEP

        public static final Theme.Element STEP
        The step line.

        Always used in combination with a TestStepResultStatus.

      • STEP_ARGUMENT

        public static final Theme.Element STEP_ARGUMENT
        A matched argument in a step.

        Styles applied to STEP are also applied to this element.

      • STEP_KEYWORD

        public static final Theme.Element STEP_KEYWORD
        The step keyword.

        Styles applied to STEP are also applied to this element.

      • STEP_TEXT

        public static final Theme.Element STEP_TEXT
        The step text.

        Styles applied to STEP are also applied to this element.

    • Method Detail

      • values

        public static Theme.Element[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Theme.Element c : Theme.Element.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Theme.Element valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null