public static enum Parser.Mode extends Enum<Parser.Mode>
Modifier and Type | Method and Description |
---|---|
CacheMode |
apply(CacheMode mode) |
static Parser.Mode |
forCacheMode(CacheMode mode) |
boolean |
isSynchronous() |
static Parser.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.Mode SYNC
public static final Parser.Mode ASYNC
public static Parser.Mode[] values()
for (Parser.Mode c : Parser.Mode.values()) System.out.println(c);
public static Parser.Mode 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 Parser.Mode forCacheMode(CacheMode mode)
public boolean isSynchronous()
Copyright © 2021 JBoss by Red Hat. All rights reserved.