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() {