Interface Engine
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
public interface Engine
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the description property.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBag@NotNull StringGets the value of the sniffer property.<T extends ApplicationConfig>
TnewApplicationConfig(Class<T> configType) Creates a new instance of the specified type of app config.voidvoidsetDescription(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, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
getSniffer
Gets the value of the sniffer property.- Returns:
- possible object is
String
-
setSniffer
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
Sets the value of the description property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getApplicationConfigs
List<ApplicationConfig> getApplicationConfigs() -
getApplicationConfig
-
setApplicationConfig
-
newApplicationConfig
@DuckTyped <T extends ApplicationConfig> T newApplicationConfig(Class<T> configType) throws org.jvnet.hk2.config.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:
org.jvnet.hk2.config.TransactionFailure
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-