aboutsummaryrefslogtreecommitdiffstats
path: root/docproc/src/main/java/com/yahoo/docproc/impl/ProcessingAccess.java
blob: a18257f61ec8c429de891031bea38e1e31a4aa72 (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
24
25
26
27
28
29
30
31
package com.yahoo.docproc.impl;

import com.yahoo.docproc.CallStack;
import com.yahoo.document.DocumentOperation;

import java.util.List;

/**
 * Bridge to access protected (originally package private) methods in {@link com.yahoo.docproc.Processing}.
 *
 * @author gjoranv
 */
public abstract class ProcessingAccess {

    protected ProcessingEndpoint getEndpoint() {
        throw new UnsupportedOperationException("docproc.Processing must override this method!");
    }

    protected void setEndpoint(ProcessingEndpoint endpoint) {
        throw new UnsupportedOperationException("docproc.Processing must override this method!");
    }

    protected void setCallStack(CallStack callStack) {
        throw new UnsupportedOperationException("docproc.Processing must override this method!");
    }

    protected List<DocumentOperation> getOnceOperationsToBeProcessed() {
        throw new UnsupportedOperationException("docproc.Processing must override this method!");
    }

}