Interface PatternObjectFilter.Builder

    • Method Detail

      • exclusionFilters

        PatternObjectFilter.Builder exclusionFilters​(Collection<String> exclusionFilters)

        A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.

        Parameters:
        exclusionFilters - A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusionFilters

        PatternObjectFilter.Builder exclusionFilters​(String... exclusionFilters)

        A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.

        Parameters:
        exclusionFilters - A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFilters

        PatternObjectFilter.Builder inclusionFilters​(Collection<String> inclusionFilters)

        A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.

        Parameters:
        inclusionFilters - A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFilters

        PatternObjectFilter.Builder inclusionFilters​(String... inclusionFilters)

        A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.

        Parameters:
        inclusionFilters - A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectType

        PatternObjectFilter.Builder objectType​(String objectType)

        The supported object type or content type of the data source.

        Parameters:
        objectType - The supported object type or content type of the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.