public static enum WuicFacade.WarmupStrategy extends Enum<WuicFacade.WarmupStrategy>
This enumeration allows to indicate how the Context
should be initialized when
ContextBuilder.build()
is called.
Enum Constant and Description |
---|
ASYNC
Runs asynchronously all workflows and return the context immediately.
|
NONE
Just build the context and return it.
|
SYNC
Runs synchronously all workflows and return the context when execution is finished.
|
Modifier and Type | Method and Description |
---|---|
static WuicFacade.WarmupStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WuicFacade.WarmupStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WuicFacade.WarmupStrategy NONE
public static final WuicFacade.WarmupStrategy SYNC
public static final WuicFacade.WarmupStrategy ASYNC
public static WuicFacade.WarmupStrategy[] values()
for (WuicFacade.WarmupStrategy c : WuicFacade.WarmupStrategy.values()) System.out.println(c);
public static WuicFacade.WarmupStrategy 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 nullCopyright © 2012-2015. All Rights Reserved.