public class IgnoreUnderscorePrefixUnless extends OutputEnableRulesSpecify
IgnoreUnderscorePrefix
for all first and level-outputs unless a particular outputs
are explicitly specified.
If first-level are specified, this takes precedence, and only these outputs are allowed.
Similarly if any particular second-level outputs are specified, these replace IgnoreUnderscorePrefix
.
Otherwise IgnoreUnderscorePrefix
is used.
Constructor and Description |
---|
IgnoreUnderscorePrefixUnless() |
IgnoreUnderscorePrefixUnless(StringSet first)
Create with first-level output names
|
Modifier and Type | Method and Description |
---|---|
MultiLevelOutputEnabled |
create(Optional<MultiLevelOutputEnabled> defaultRules)
Creates rules for determining whether an output is enabled or disabled.
|
protected SingleLevelOutputEnabled |
createSecondLevelFromSet(StringSet outputNames)
Creates a new second-level
SingleLevelOutputEnabled from the relevant set of strings. |
firstLevelContains, getFirst, getSecond, isFirstDefined, secondLevelOutputs, setFirst, setSecond
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public IgnoreUnderscorePrefixUnless(StringSet first)
first
- first-level output-namespublic IgnoreUnderscorePrefixUnless()
public MultiLevelOutputEnabled create(Optional<MultiLevelOutputEnabled> defaultRules)
OutputEnabledRules
create
in class OutputEnabledRules
defaultRules
- default output-enabled rules that may exist.protected SingleLevelOutputEnabled createSecondLevelFromSet(StringSet outputNames)
OutputEnableRulesSpecify
SingleLevelOutputEnabled
from the relevant set of strings.createSecondLevelFromSet
in class OutputEnableRulesSpecify
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.