Sync with 5.4.0
[deliverable/titan.core.git] / titan_executor_api / TITAN_Executor_API / src / org / eclipse / titan / executor / jni / VerdictTypeEnum.java
1 /******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************/
8 package org.eclipse.titan.executor.jni;
9
10 /**
11 * Verdict types.
12 * <p>
13 * The original C++ structure can be found at TTCNv3\core\Types.h
14 * */
15 public final class VerdictTypeEnum {
16
17 public static final VerdictTypeEnum NONE = new VerdictTypeEnum(0, "none");
18 public static final VerdictTypeEnum PASS = new VerdictTypeEnum(1, "pass");
19 public static final VerdictTypeEnum INCONC = new VerdictTypeEnum(2, "inconc");
20 public static final VerdictTypeEnum FAIL = new VerdictTypeEnum(3, "fail");
21 public static final VerdictTypeEnum ERROR = new VerdictTypeEnum(4, "error");
22
23 private int enum_value;
24 private final String name;
25
26 private VerdictTypeEnum(final int value, final String name) {
27 enum_value = value;
28 this.name = name;
29 }
30
31 public int getValue() {
32 return enum_value;
33 }
34
35 public String getName() {
36 return name;
37 }
38
39 public String toString() {
40 return name;
41 }
42 }
This page took 0.054742 seconds and 6 git commands to generate.