Interface Engine
-
- All Superinterfaces:
ConfigBeanProxy,PropertyBag
public interface Engine extends ConfigBeanProxy, PropertyBag
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEngine.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationConfiggetApplicationConfig()List<ApplicationConfig>getApplicationConfigs()StringgetDescription()Gets the value of the description property.List<Property>getProperty()Properties as perPropertyBag@NotNull StringgetSniffer()Gets the value of the sniffer property.<T extends ApplicationConfig>
TnewApplicationConfig(Class<T> configType)Creates a new instance of the specified type of app config.voidsetApplicationConfig(ApplicationConfig config)voidsetDescription(String value)Sets the value of the description property.voidsetSniffer(String value)Sets the value of the sniffer property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
-
-
-
Method Detail
-
getSniffer
@NotNull @NotNull String getSniffer()
Gets the value of the sniffer property.- Returns:
- possible object is
String
-
setSniffer
void setSniffer(String value) throws PropertyVetoException
Sets the value of the sniffer property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getApplicationConfigs
List<ApplicationConfig> getApplicationConfigs()
-
getApplicationConfig
@DuckTyped ApplicationConfig getApplicationConfig()
-
setApplicationConfig
@DuckTyped void setApplicationConfig(ApplicationConfig config)
-
newApplicationConfig
@DuckTyped <T extends ApplicationConfig> T newApplicationConfig(Class<T> configType) throws TransactionFailure
Creates a new instance of the specified type of app config.- Type Parameters:
T- stands for the specific type required- Parameters:
configType- the Class for the type required- Returns:
- new instance of the specified type of ApplicationConfig
- Throws:
TransactionFailure
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
-
-