blob: 500f3aaf8d86dbc2b18f67b84a58914f00c5f87a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi.messagebus.protocol;
/**
* @author Simon Thoresen Hult
*/
public class WrongDistributionReply extends DocumentReply {
private String systemState;
public WrongDistributionReply() {
super(DocumentProtocol.REPLY_WRONGDISTRIBUTION);
}
public WrongDistributionReply(String systemState) {
super(DocumentProtocol.REPLY_WRONGDISTRIBUTION);
this.systemState = systemState;
}
public String getSystemState() {
return systemState;
}
public void setSystemState(String state) {
systemState = state;
}
}
|