summaryrefslogtreecommitdiffstats
path: root/documentapi/src/main/java/com/yahoo/documentapi/DocumentVisitor.java
blob: fd0e9725866ad47ad04980d438aed59839a7f49c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi;

/**
 * Visitor that simply returns documents found in storage.
 *
 * @author <a href="mailto:humbe@yahoo-inc.com">H&aring;kon Humberset</a>
 */
public class DocumentVisitor extends VisitorParameters {

    /**
     * Create a document visitor.
     *
     * @param documentSelection The document selection criteria.
     */
    public DocumentVisitor(String documentSelection) {
        super(documentSelection);
    }

    // Inherited docs from VisitorParameters
    public String getVisitorLibrary() { return "DumpVisitor"; }

}