public static enum CompoundView.Mode extends Enum<CompoundView.Mode>
| Enum Constant and Description |
|---|
FORWARD
Receives events filtered by the compound view filter.
|
HOOK
AbstractMonitorView2 hooks are called by the compound view. |
INDEPENDENT
Listens to the status aggregator independently, possibly with its own filter.
|
| Modifier and Type | Method and Description |
|---|---|
static CompoundView.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompoundView.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompoundView.Mode INDEPENDENT
install(...)
or uninstall() methods of its children added in this mode
are also called. The setFilter(...) method is forwarded as well.
Otherwise, child views of this type are independent, updates received by
the parent are not forwarded to them.public static final CompoundView.Mode FORWARD
public static final CompoundView.Mode HOOK
AbstractMonitorView2 hooks are called by the compound view.
Only compatible with views that extend AbstractMonitorView2.
Child views of this type are not independently installed, their update
hooks declared by AbstractMonitorView2 class are called whenever
the parent compound view receives an update event.public static CompoundView.Mode[] values()
for (CompoundView.Mode c : CompoundView.Mode.values()) System.out.println(c);
public static CompoundView.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 nullCopyright © 2018 LSST. All rights reserved.