public interface Engine extends ConfigBeanProxy, PropertyBag
Modifier and Type | Interface and Description |
---|---|
static class |
Engine.Duck |
Modifier and Type | Method and Description |
---|---|
ApplicationConfig |
getApplicationConfig() |
List<ApplicationConfig> |
getApplicationConfigs() |
String |
getDescription()
Gets the value of the description property.
|
List<Property> |
getProperty()
Properties as per
PropertyBag |
@NotNull String |
getSniffer()
Gets the value of the sniffer property.
|
<T extends ApplicationConfig> |
newApplicationConfig(Class<T> configType)
Creates a new instance of the specified type of app config.
|
void |
setApplicationConfig(ApplicationConfig config) |
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setSniffer(String value)
Sets the value of the sniffer property.
|
createChild, deepCopy, getParent, getParent
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
@NotNull @NotNull String getSniffer()
String
void setSniffer(String value) throws PropertyVetoException
value
- allowed object is String
PropertyVetoException
String getDescription()
String
void setDescription(String value) throws PropertyVetoException
value
- allowed object is String
PropertyVetoException
List<ApplicationConfig> getApplicationConfigs()
@DuckTyped ApplicationConfig getApplicationConfig()
@DuckTyped void setApplicationConfig(ApplicationConfig config)
@DuckTyped <T extends ApplicationConfig> T newApplicationConfig(Class<T> configType) throws TransactionFailure
T
- stands for the specific type requiredconfigType
- the Class for the type requiredTransactionFailure
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
PropertyBag
getProperty
in interface PropertyBag
Copyright © 2021. All rights reserved.