public static enum QueryLookupStrategy.Key extends Enum<QueryLookupStrategy.Key>
Enum Constant and Description |
---|
CREATE |
CREATE_IF_NOT_FOUND |
USE_DECLARED_QUERY |
Modifier and Type | Method and Description |
---|---|
static QueryLookupStrategy.Key |
create(String xml)
Returns a strategy key from the given XML value.
|
static QueryLookupStrategy.Key |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryLookupStrategy.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryLookupStrategy.Key CREATE
public static final QueryLookupStrategy.Key USE_DECLARED_QUERY
public static final QueryLookupStrategy.Key CREATE_IF_NOT_FOUND
public static QueryLookupStrategy.Key[] values()
for (QueryLookupStrategy.Key c : QueryLookupStrategy.Key.values()) System.out.println(c);
public static QueryLookupStrategy.Key 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 null@Nullable public static QueryLookupStrategy.Key create(String xml)
xml
- Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.