public interface KieModuleModel
KieModule
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getConfigurationProperties()
Returns all the configuration properties set on this KieModuleModel
|
String |
getConfigurationProperty(String key)
Set a configuration property for this KieModuleModel
|
Map<String,KieBaseModel> |
getKieBaseModels()
Returns all the KieBaseModel defined in this KieModuleModel mapped by their names
|
KieBaseModel |
newKieBaseModel()
Creates a new anonymous KieBaseModel and adds it to this KieModuleModel
|
KieBaseModel |
newKieBaseModel(String name)
Creates a new KieBaseModel with the given name and adds it to this KieModuleModel
|
void |
removeKieBaseModel(String name)
Removes the KieBaseModel with the give name from this KieModuleModel
|
KieModuleModel |
setConfigurationProperty(String key,
String value)
Set a configuration property for this KieModuleModel
|
String |
toXML() |
KieModuleModel setConfigurationProperty(String key, String value)
key
- The property keyvalue
- The property valueString getConfigurationProperty(String key)
key
- The property keyMap<String,String> getConfigurationProperties()
KieBaseModel newKieBaseModel()
KieBaseModel newKieBaseModel(String name)
name
- The name of the new KieBaseModel to be createdvoid removeKieBaseModel(String name)
name
- The name of the KieBaseModel to be removedMap<String,KieBaseModel> getKieBaseModels()
String toXML()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.