|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DevStatus>
org.opensha.commons.util.DevStatus
public enum DevStatus
Class that may be used to represent different states of development. For example, a particular interface or abstract class may have some implementations that have been vetted and tested and are ready for use in production environments while others are under development, experimental, or deprecated.
| Enum Constant Summary | |
|---|---|
DEPRECATED
Status indicating something is deprecated. |
|
DEVELOPMENT
Status indicating something is under development. |
|
ERROR
Status indicating something has a critical error and is disabled until fixed |
|
EXPERIMENTAL
Status indicating something is merely experimental. |
|
PRODUCTION
Status indicating something is production ready. |
|
| Method Summary | |
|---|---|
String |
getBuildDirName()
This retuns the name of the directory associated with this DevStatus instance. |
String |
getName()
Returns the name of this object |
String |
toString()
|
static DevStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DevStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DevStatus PRODUCTION
public static final DevStatus DEVELOPMENT
public static final DevStatus EXPERIMENTAL
public static final DevStatus DEPRECATED
public static final DevStatus ERROR
| Method Detail |
|---|
public static DevStatus[] values()
for (DevStatus c : DevStatus.values()) System.out.println(c);
public static DevStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getBuildDirName()
UnsupportedOperationException - if not applicable for this DevStatuspublic String getName()
Named
getName in interface Namedpublic String toString()
toString in class Enum<DevStatus>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||