summaryrefslogtreecommitdiffstats
path: root/vespalog/src/main/java/com/yahoo/log/event/State.java
blob: 869178cb435cef1b82e7024518cc9442e5dfd058 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.log.event;

public class State extends Event {
    public State () {
    }

    public State (String name, String value) {
        init(name, value);
    }

    private void init (String name, String value) {
        setValue("name", name);
        setValue("value", value);
    }
}