aboutsummaryrefslogtreecommitdiffstats
path: root/vespalog/src/main/java/com/yahoo/log/event/State.java
blob: 154fa585b3452cf71b23c5cd76620307f6327b7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2017 Yahoo Holdings. 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);
    }
}