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.provisiondevice;
10 import org.opendaylight.transportpce.common.OperationResult;
12 public final class OLMRenderingResult extends OperationResult {
14 private OLMRenderingResult(boolean success, String message) {
15 super(success, message);
18 public static OLMRenderingResult failed(String message) {
19 return new OLMRenderingResult(false, message);
22 public static OLMRenderingResult ok() {
23 return new OLMRenderingResult(true, "");