public enum ProcessCheckerType extends Enum<ProcessCheckerType>
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static boolean |
isValid(String type) |
static ProcessCheckerType |
toEnum(String type)
Converts string (ping, native, all) to
ProcessCheckerType. |
static ProcessCheckerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessCheckerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessCheckerType PING
public static final ProcessCheckerType NATIVE
public static final ProcessCheckerType ALL
public static ProcessCheckerType[] values()
for (ProcessCheckerType c : ProcessCheckerType.values()) System.out.println(c);
public static ProcessCheckerType 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 static ProcessCheckerType toEnum(String type)
ProcessCheckerType.type - ping, native, allProcessCheckerTypepublic String getType()
public static boolean isValid(String type)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.