Package org.kie.api.builder.model
Interface KieModuleModel
- 
 public interface KieModuleModelKieModuleModel is a model allowing to programmatically define a KieModule- See Also:
- KieModule
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getConfigurationProperties()Returns all the configuration properties set on this KieModuleModelStringgetConfigurationProperty(String key)Set a configuration property for this KieModuleModelMap<String,KieBaseModel>getKieBaseModels()Returns all the KieBaseModel defined in this KieModuleModel mapped by their namesKieBaseModelnewKieBaseModel()Creates a new anonymous KieBaseModel and adds it to this KieModuleModelKieBaseModelnewKieBaseModel(String name)Creates a new KieBaseModel with the given name and adds it to this KieModuleModelvoidremoveKieBaseModel(String name)Removes the KieBaseModel with the give name from this KieModuleModelKieModuleModelsetConfigurationProperty(String key, String value)Set a configuration property for this KieModuleModelStringtoXML()
 
- 
- 
- 
Method Detail- 
setConfigurationPropertyKieModuleModel setConfigurationProperty(String key, String value) Set a configuration property for this KieModuleModel- Parameters:
- key- The property key
- value- The property value
- Returns:
- this
 
 - 
getConfigurationPropertyString getConfigurationProperty(String key) Set a configuration property for this KieModuleModel- Parameters:
- key- The property key
- Returns:
- The property value or null if such a property hasn't been set
 
 - 
getConfigurationPropertiesMap<String,String> getConfigurationProperties() Returns all the configuration properties set on this KieModuleModel
 - 
newKieBaseModelKieBaseModel newKieBaseModel() Creates a new anonymous KieBaseModel and adds it to this KieModuleModel- Returns:
- The new KieBaseModel
 
 - 
newKieBaseModelKieBaseModel newKieBaseModel(String name) Creates a new KieBaseModel with the given name and adds it to this KieModuleModel- Parameters:
- name- The name of the new KieBaseModel to be created
- Returns:
- The new KieBaseModel
 
 - 
removeKieBaseModelvoid removeKieBaseModel(String name) Removes the KieBaseModel with the give name from this KieModuleModel- Parameters:
- name- The name of the KieBaseModel to be removed
 
 - 
getKieBaseModelsMap<String,KieBaseModel> getKieBaseModels() Returns all the KieBaseModel defined in this KieModuleModel mapped by their names
 - 
toXMLString toXML() - Returns:
- XML representation of this KieModuleModel
 
 
- 
 
-