S
- permutation typeT
- feature-inputpublic class PermuteFeature<S,T extends FeatureInput> extends PermuteFeatureBase<T>
As a convenience, a single permutation can be defined using the permutation
property,
whereas multiple permutations can be defined using permutations
list of properties.
Constructor and Description |
---|
PermuteFeature() |
Modifier and Type | Method and Description |
---|---|
void |
checkMisconfigured(BeanInstanceMap defaultInstances)
Checks that a bean's properties conform to expectations.
|
protected FeatureList<T> |
createPermutedFeaturesFor(Feature<T> feature) |
PermuteProperty<S> |
getPermutation()
A permutation to apply.
|
List<PermuteProperty<S>> |
getPermutations()
A list of permutations to apply.
|
StringSet |
getReferencesFeatureListCreator()
Makes sure a particular feature list creator is evaluated
|
void |
onInitialization(FeatureRelatedInitialization so)
Called after initialization.
|
void |
setPermutation(PermuteProperty<S> permutation)
A permutation to apply.
|
void |
setPermutations(List<PermuteProperty<S>> permutations)
A list of permutations to apply.
|
void |
setReferencesFeatureListCreator(StringSet referencesFeatureListCreator)
Makes sure a particular feature list creator is evaluated
|
get, getFeature, setFeature
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void checkMisconfigured(BeanInstanceMap defaultInstances) throws BeanMisconfiguredException
AnchorBean
checkMisconfigured
in class AnchorBean<FeatureListProvider<T extends FeatureInput>>
defaultInstances
- all available default instances if the DefaultInstance
annotation is usedBeanMisconfiguredException
- if the bean has not been configured properly as XMLprotected FeatureList<T> createPermutedFeaturesFor(Feature<T> feature) throws ProvisionFailedException
createPermutedFeaturesFor
in class PermuteFeatureBase<T extends FeatureInput>
ProvisionFailedException
public void onInitialization(FeatureRelatedInitialization so) throws InitializeException
InitializableBean
onInitialization
in class InitializableBean<FeatureListProvider<T extends FeatureInput>,FeatureRelatedInitialization>
so
- parameters used for initialization.InitializeException
- if initialization does not successfully complete.public StringSet getReferencesFeatureListCreator()
public void setReferencesFeatureListCreator(StringSet referencesFeatureListCreator)
public PermuteProperty<S> getPermutation()
permutations
must be
non-empty, but not both.public void setPermutation(PermuteProperty<S> permutation)
permutations
must be
non-empty, but not both.public List<PermuteProperty<S>> getPermutations()
permutation
must be
present, but not both.public void setPermutations(List<PermuteProperty<S>> permutations)
permutation
must be
present, but not both.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.