Enum Repository.RepositoryFeature

    • Enum Constant Detail

      • INCLUDE_ATTACHMENTS

        public static final Repository.RepositoryFeature INCLUDE_ATTACHMENTS
        Include Attachment messages.

        Disable to reduce memory usage.

      • INCLUDE_GHERKIN_DOCUMENTS

        public static final Repository.RepositoryFeature INCLUDE_GHERKIN_DOCUMENTS
        Include GherkinDocument messages.

        Disable to reduce memory usage.

      • INCLUDE_STEP_DEFINITIONS

        public static final Repository.RepositoryFeature INCLUDE_STEP_DEFINITIONS
        Include StepDefinition messages.

        Disable to reduce memory usage.

      • INCLUDE_SUGGESTIONS

        public static final Repository.RepositoryFeature INCLUDE_SUGGESTIONS
        Include Suggestion messages.

        Disable to reduce memory usage.

    • Method Detail

      • values

        public static Repository.RepositoryFeature[] 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 (Repository.RepositoryFeature c : Repository.RepositoryFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Repository.RepositoryFeature 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