summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/vespa/objects/ObjectOperation.java
blob: 4a26564c2cac7ff1a600005b43580eb6e6f62014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. 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.
     */
    public void execute(Object obj);
}