2 * Copyright © 2017 AT&T 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
8 package org.opendaylight.transportpce.renderer;
10 import org.opendaylight.transportpce.renderer.provisiondevice.tasks.RollbackTask;
12 public class TestRollbackTask extends RollbackTask {
14 private boolean rollbackNecessary;
16 public TestRollbackTask(String id, boolean rollbackNecessary) {
18 this.rollbackNecessary = rollbackNecessary;
22 public boolean isRollbackNecessary() {
23 return rollbackNecessary;
27 public Void call() throws Exception {