Refactor PCE network analyzer PceOtnNode step 2
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / PceComplianceCheckResult.java
1 /*
2  * Copyright © 2017 AT&T 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.transportpce.pce;
9
10 public class PceComplianceCheckResult {
11
12     private boolean result;
13     private String message;
14
15     public PceComplianceCheckResult(boolean result, String message) {
16         this.result = result;
17         this.message = message;
18     }
19
20     public boolean hasPassed() {
21         return result;
22     }
23
24     public String getMessage() {
25         return message;
26     }
27
28 }