summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/fieldoperation/FieldOperationContainer.java
blob: d5e52fadffa50b334d56daecd785d0040b983ede (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.schema.fieldoperation;

import com.yahoo.schema.document.SDField;

/**
 * @author Einar M R Rosenvinge
 */
public interface FieldOperationContainer {

    /** Adds an operation */
    void addOperation(FieldOperation op);

    /** Apply all operations. Operations must be sorted in their natural order before applying each operation. */
    void applyOperations(SDField field);

    String getName();

}