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
-
Method Summary
Modifier and TypeMethodDescriptiondefault ApplicationConfigGets the value of thedescriptionproperty.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBag@NotNull StringGets the value of thesnifferproperty.default <T extends ApplicationConfig>
TnewApplicationConfig(Class<T> configType) Creates a new instance of the specified type of app config.default voidvoidsetDescription(String description) Sets the value of thedescriptionproperty.voidsetSniffer(String sniffer) Sets the value of thesnifferproperty.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 thesnifferproperty.- Returns:
- possible object is
String
-
setSniffer
Sets the value of thesnifferproperty.- Parameters:
sniffer- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()Gets the value of thedescriptionproperty.- Returns:
- possible object is
String
-
setDescription
Sets the value of thedescriptionproperty.- Parameters:
description- allowed object isString- Throws:
PropertyVetoException
-
getApplicationConfigs
List<ApplicationConfig> getApplicationConfigs() -
getApplicationConfig
-
setApplicationConfig
-
newApplicationConfig
default <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- if an error occurred
-
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
-