public static enum LookupField.Strategy extends Enum<LookupField.Strategy>
| Enum Constant and Description |
|---|
ANCESTORS
Travels from parent to parent.
|
CHILDREN
Travels the direct children.
|
DESCENDANTS
Travels all the descendants components.
|
SIBLINGS
Travels the siblings.
|
TOP
Sets the annotated field to the top component of the component tree,
which is the enclosing subsystem.
|
TREE
Travels the whole component tree.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupField.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LookupField.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LookupField.Strategy ANCESTORS
public static final LookupField.Strategy DESCENDANTS
public static final LookupField.Strategy CHILDREN
public static final LookupField.Strategy SIBLINGS
public static final LookupField.Strategy TOP
public static final LookupField.Strategy TREE
public static LookupField.Strategy[] values()
for (LookupField.Strategy c : LookupField.Strategy.values()) System.out.println(c);
public static LookupField.Strategy 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 © 2019 LSST. All rights reserved.