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 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<org.jvnet.hk2.config.types.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.
-
-
-
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 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
-
-