public abstract class OutputEnableRulesSpecify extends OutputEnabledRules
OutputEnabledRules
that specifies particular output-names for first and
second levels.Modifier | Constructor and Description |
---|---|
protected |
OutputEnableRulesSpecify() |
protected |
OutputEnableRulesSpecify(StringSet first)
Create with a specific set of first-level output names.
|
Modifier and Type | Method and Description |
---|---|
protected abstract SingleLevelOutputEnabled |
createSecondLevelFromSet(StringSet outputNames)
Creates a new second-level
SingleLevelOutputEnabled from the relevant set of strings. |
protected boolean |
firstLevelContains(String outputName) |
StringSet |
getFirst()
Output-names in the first-level.
|
List<NamedBean<StringSet>> |
getSecond()
Output-names in the second-level (for all first level output-names).
|
protected boolean |
isFirstDefined() |
protected SingleLevelOutputEnabled |
secondLevelOutputs(String outputName,
OutputEnabled defaultValue) |
void |
setFirst(StringSet first)
Output-names in the first-level.
|
void |
setSecond(List<NamedBean<StringSet>> second)
Output-names in the second-level (for all first level output-names).
|
create
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected OutputEnableRulesSpecify(StringSet first)
first
- first-level output-namesprotected OutputEnableRulesSpecify()
protected boolean firstLevelContains(String outputName)
protected abstract SingleLevelOutputEnabled createSecondLevelFromSet(StringSet outputNames)
SingleLevelOutputEnabled
from the relevant set of strings.protected SingleLevelOutputEnabled secondLevelOutputs(String outputName, OutputEnabled defaultValue)
outputName
- defaultValue
- protected boolean isFirstDefined()
public StringSet getFirst()
public void setFirst(StringSet first)
public List<NamedBean<StringSet>> getSecond()
If the list is empty, all second-level outputs are considered permissive.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.