public class FeatureProviderReference extends FeatureProvider<FeatureInput>
Feature
identified by its name and optionally a feature-list in
which is resides.Constructor and Description |
---|
FeatureProviderReference() |
Modifier and Type | Method and Description |
---|---|
Feature<FeatureInput> |
get()
Gets or creates an object of type
T . |
String |
getId()
The name of the feature to reference.
|
String |
getReferencesList()
The name of the list in which the feature referenced by
id resides. |
void |
setId(String id)
The name of the feature to reference.
|
void |
setReferencesList(String referencesList)
The name of the list in which the feature referenced by
id resides. |
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Feature<FeatureInput> get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public String getId()
public void setId(String id)
public String getReferencesList()
id
resides.public void setReferencesList(String referencesList)
id
resides.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.