blob: 8dca8c5f55bb1b5e6b1afffab0a593ad4e5fc8bf (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi.messagebus.systemstate.rule;
/**
* @author Simon Thoresen Hult
*/
public class Argument {
private final String name;
private final String value;
/**
* Constructs a new argument.
*
* @param name The name of this argument.
* @param value The value of this argument.
*/
public Argument(String name, String value) {
this.name = name;
this.value = value;
}
/**
* Returns the name of this argument.
*
* @return The name.
*/
public String getName() {
return name;
}
/**
* Returns the value of this argument.
*
* @return The value.
*/
public String getValue() {
return value;
}
}
|