Last sync 2016.04.01
[deliverable/titan.core.git] / titan_executor_api / TITAN_Executor_API / src / org / eclipse / titan / executor / jni / VerdictTypeEnum.java
CommitLineData
970ed795 1/******************************************************************************
d44e3c4f 2 * Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
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
d44e3c4f 7 *
8 * Contributors:
9 * Balasko, Jeno
10 * Lovassy, Arpad
11 *
970ed795
EL
12 ******************************************************************************/
13package org.eclipse.titan.executor.jni;
14
15/**
16 * Verdict types.
17 * <p>
18 * The original C++ structure can be found at TTCNv3\core\Types.h
19 * */
20public final class VerdictTypeEnum {
21
22 public static final VerdictTypeEnum NONE = new VerdictTypeEnum(0, "none");
23 public static final VerdictTypeEnum PASS = new VerdictTypeEnum(1, "pass");
24 public static final VerdictTypeEnum INCONC = new VerdictTypeEnum(2, "inconc");
25 public static final VerdictTypeEnum FAIL = new VerdictTypeEnum(3, "fail");
26 public static final VerdictTypeEnum ERROR = new VerdictTypeEnum(4, "error");
27
28 private int enum_value;
29 private final String name;
30
31 private VerdictTypeEnum(final int value, final String name) {
32 enum_value = value;
33 this.name = name;
34 }
35
36 public int getValue() {
37 return enum_value;
38 }
39
40 public String getName() {
41 return name;
42 }
43
44 public String toString() {
45 return name;
46 }
47}
This page took 0.026594 seconds and 5 git commands to generate.