aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/vespa/objects/ObjectOperation.java
blob: cb86072a652e369d4d069806ddf5b40e74a4d010 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.objects;

/**
 * An operation that is able to operate on a generic object.
 *
 * @author Simon Thoresen Hult
 */
public interface ObjectOperation {

    /**
     * Apply this operation to the given object.
     *
     * @param obj The object to operate on.
     */
    void execute(Object obj);

}