Merge "Fixed for bug 1197"
[controller.git] / opendaylight / netconf / netconf-cli / src / test / java / org / opendaylight / controller / netconf / cli / ValueForMessages.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.netconf.cli;
9
10 import java.util.Arrays;
11 import java.util.List;
12
13 class ValueForMessage {
14     List<String> messageKeyWords;
15     String value;
16
17     public ValueForMessage(final String value, final String... messageKeyWords) {
18         this.messageKeyWords = Arrays.asList(messageKeyWords);
19         this.value = value;
20     }
21
22     public List<String> getKeyWords() {
23         return messageKeyWords;
24     }
25
26     public String getValue() {
27         return value;
28     }
29 }