public enum ModeConfig extends Enum<ModeConfig>
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceController.Mode |
getMode() |
static ModeConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModeConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModeConfig ACTIVE
public static final ModeConfig PASSIVE
public static final ModeConfig ON_DEMAND
public static final ModeConfig NEVER
public static ModeConfig[] values()
for (ModeConfig c : ModeConfig.values()) System.out.println(c);
public static ModeConfig 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 org.jboss.msc.service.ServiceController.Mode getMode()
Copyright © 2014 JBoss by Red Hat. All rights reserved.