public enum Edition extends Enum<Edition>
| Enum Constant and Description |
|---|
ANDROID
Android mobile OS, JEE, JSE, OSGI.
|
JEE |
JSE |
| Modifier and Type | Field and Description |
|---|---|
static Edition |
CURRENT
The current engine edition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFullName()
Returns the full size name of the edition.
|
String |
getMediumName()
Returns the medium size name of the edition.
|
String |
getShortName()
Returns the short size name of the edition.
|
boolean |
isCurrentEdition()
Returns true if this edition is the current one.
|
static boolean |
isCurrentEditionOneOf(Edition... editions) |
boolean |
isNotCurrentEdition()
Returns true if this edition is not the current one.
|
void |
setCurrentEdition()
Set this edition as the current one.
|
static Edition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Edition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Edition ANDROID
public static final Edition JEE
public static final Edition JSE
public static Edition CURRENT
public static Edition[] values()
for (Edition c : Edition.values()) System.out.println(c);
public static Edition 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 getFullName()
public String getMediumName()
public String getShortName()
public boolean isCurrentEdition()
public boolean isNotCurrentEdition()
public static boolean isCurrentEditionOneOf(Edition... editions)
public void setCurrentEdition()
Copyright © 2005–2025. All rights reserved.