public static enum ProcessEnvironment.ProcessType extends Enum<ProcessEnvironment.ProcessType>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmbedded() |
boolean |
isServer() |
boolean |
isStandaloneServer() |
static ProcessEnvironment.ProcessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessEnvironment.ProcessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessEnvironment.ProcessType Server
public static final ProcessEnvironment.ProcessType ACC
public static final ProcessEnvironment.ProcessType Embedded
public static final ProcessEnvironment.ProcessType Other
public static ProcessEnvironment.ProcessType[] values()
for (ProcessEnvironment.ProcessType c : ProcessEnvironment.ProcessType.values()) System.out.println(c);
public static ProcessEnvironment.ProcessType 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 boolean isServer()
public boolean isStandaloneServer()
public boolean isEmbedded()
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.