2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.netconf.sal.restconf.impl;
11 import java.util.List;
13 public class PATCHStatusContext {
15 private final String patchId;
16 private final List<PATCHStatusEntity> editCollection;
18 private List<RestconfError> globalErrors;
20 public PATCHStatusContext(final String patchId, final List<PATCHStatusEntity> editCollection,
21 final boolean ok, final List<RestconfError> globalErrors) {
22 this.patchId = patchId;
23 this.editCollection = editCollection;
25 this.globalErrors = globalErrors;
28 public String getPatchId() {
32 public List<PATCHStatusEntity> getEditCollection() {
33 return editCollection;
36 public boolean isOk() {
40 public List<RestconfError> getGlobalErrors() {