public enum PVisibility extends java.lang.Enum<PVisibility>
Enum Constant and Description |
---|
EMBEDDED
A query that is only used inside a single caller query and is not visible outside its container query.
|
PRIVATE
A private query is not expected to be called directly, only by a different query matcher.
|
PUBLIC
A public (default) visibility means a pattern can be called at any time.
|
Modifier and Type | Method and Description |
---|---|
static PVisibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PVisibility PUBLIC
public static final PVisibility PRIVATE
public static final PVisibility EMBEDDED
public static PVisibility[] values()
for (PVisibility c : PVisibility.values()) System.out.println(c);
public static PVisibility valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null