public enum VersionStatus extends Enum<VersionStatus>
Enum Constant and Description |
---|
ARCHIVED |
RELEASED |
UNRELEASED |
Modifier and Type | Method and Description |
---|---|
static VersionStatus |
getByTypeName(String name) |
String |
getVersionStatus()
Get type string.
|
static VersionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionStatus UNRELEASED
public static final VersionStatus RELEASED
public static final VersionStatus ARCHIVED
public static VersionStatus[] values()
for (VersionStatus c : VersionStatus.values()) System.out.println(c);
public static VersionStatus 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 getVersionStatus()
public static VersionStatus getByTypeName(String name)
Copyright © 2020 DEISER. All Rights Reserved.