public enum PythonVersion extends Enum<PythonVersion>
| Enum Constant and Description |
|---|
PYTHON2 |
PYTHON3 |
PYTHON35 |
PYTHON36 |
PYTHON37 |
| Modifier and Type | Method and Description |
|---|---|
String |
getEngineName() |
static PythonVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PythonVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PythonVersion PYTHON2
public static final PythonVersion PYTHON3
public static final PythonVersion PYTHON35
public static final PythonVersion PYTHON36
public static final PythonVersion PYTHON37
public static PythonVersion[] values()
for (PythonVersion c : PythonVersion.values()) System.out.println(c);
public static PythonVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getEngineName()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.