summaryrefslogtreecommitdiffstats
path: root/application/src/test/java/com/yahoo/application/TestDocProc.java
blob: 1631c7cd812fb5d8067e492a8bcea85fa840d14e (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.application;

import com.yahoo.config.subscription.ConfigSubscriber;
import com.yahoo.docproc.DocumentProcessor;
import com.yahoo.docproc.Processing;
import com.yahoo.document.config.DocumentmanagerConfig;

/**
 * @author bratseth
 */
public class TestDocProc extends DocumentProcessor {

    public TestDocProc(DocumentmanagerConfig config) {
        new ConfigSubscriber().subscribe(DocumentmanagerConfig.class, "client");
    }

    @Override
    public Progress process(Processing processing) {
        return Progress.DONE;
    }

}