public enum CmisTestResultStatus extends Enum<CmisTestResultStatus>
Enum Constant and Description |
---|
FAILURE |
INFO |
OK |
SKIPPED |
UNEXPECTED_EXCEPTION |
WARNING |
Modifier and Type | Method and Description |
---|---|
static CmisTestResultStatus |
fromLevel(int level) |
int |
getLevel() |
static CmisTestResultStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmisTestResultStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmisTestResultStatus INFO
public static final CmisTestResultStatus SKIPPED
public static final CmisTestResultStatus OK
public static final CmisTestResultStatus WARNING
public static final CmisTestResultStatus FAILURE
public static final CmisTestResultStatus UNEXPECTED_EXCEPTION
public static CmisTestResultStatus[] values()
for (CmisTestResultStatus c : CmisTestResultStatus.values()) System.out.println(c);
public static CmisTestResultStatus 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 int getLevel()
public static CmisTestResultStatus fromLevel(int level)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.