public class RecordedOutputsWithRules extends Object
Constructor and Description |
---|
RecordedOutputsWithRules()
Creates with no rules or outputs defined.
|
RecordedOutputsWithRules(MultiLevelRecordedOutputs recordedOutputs,
MultiLevelOutputEnabled defaultRules,
OutputEnabledDelta delta)
Creates with all elements defined.
|
Modifier and Type | Method and Description |
---|---|
Optional<MultiLevelRecordedOutputs> |
getRecordedOutputs()
If defined, records output-names that are written / not-written during the experiment.
|
MultiLevelOutputEnabled |
selectOutputEnabled(Optional<OutputEnabledRules> rulesHigherPrecedence)
Selects which
OutputEnabledRules to employ. |
public RecordedOutputsWithRules()
public RecordedOutputsWithRules(MultiLevelRecordedOutputs recordedOutputs, MultiLevelOutputEnabled defaultRules, OutputEnabledDelta delta)
recordedOutputs
- where output-names are recorded as they are written / querieddefaultRules
- default rules for which outputs are enabled.public MultiLevelOutputEnabled selectOutputEnabled(Optional<OutputEnabledRules> rulesHigherPrecedence)
OutputEnabledRules
to employ.
The order of precedence is:
rulesHigherPrecedence
combined with user-supplied additions.
defaultRules
combined with user-supplied additions.
Any user-supplied additional outputs are also added to both if they exist.
rulesHigherPrecedence
- output-rules that are applied with highest-precedence, if they
exist.MultiLevelOutputEnabled
that combines one of the two sources of rules with
user-supplied additional outputs.public Optional<MultiLevelRecordedOutputs> getRecordedOutputs()
This only occurs for first-level outputs, not second-level outputs.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.