public enum TestFilter extends Enum<TestFilter>
Modifier and Type | Class and Description |
---|---|
static class |
TestFilter.Adapter |
Enum Constant and Description |
---|
BOTH |
PRODUCTION |
TEST |
Modifier and Type | Method and Description |
---|---|
static TestFilter |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static TestFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestFilter TEST
public static final TestFilter PRODUCTION
public static final TestFilter BOTH
public static TestFilter[] values()
for (TestFilter c : TestFilter.values()) System.out.println(c);
public static TestFilter 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 getValue()
public String toString()
toString
in class Enum<TestFilter>
public static TestFilter fromValue(String text)
Copyright © 2023 Sage Bionetworks. All rights reserved.