public class Configuration extends Object
AndroMDAppType
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
addLocation(String location)
Adds a location to this configuration.
|
protected void |
addProperties(Map<String,String> target,
Properties properties) |
void |
addProperty(String name,
String value)
Adds a property with the name and value to the current properties
map.
|
Map<String,String> |
getAllProperties()
Retrieves all properties including all those found in the given locations.
|
boolean |
isOverwrite()
Whether or not the application should be overwritten if it already exits.
|
void |
setOverwrite(boolean overwrite)
Sets whether or not the application should be overwritten if it previously existed.
|
public Configuration()
public void addProperty(String name, String value)
name
- the name of the property to add.value
- the value of the property.public void addLocation(String location)
location
- the path of the location.public Map<String,String> getAllProperties()
protected void addProperties(Map<String,String> target, Properties properties)
target
- properties
- public boolean isOverwrite()
public void setOverwrite(boolean overwrite)
overwrite
- true/falseCopyright © 2005–2014 AndroMDA.org. All rights reserved.