public class Conditions extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static String |
TYPE_AND
The "and" type.
|
(package private) static String |
TYPE_OR
The "or" type.
|
Constructor and Description |
---|
Conditions() |
Modifier and Type | Method and Description |
---|---|
void |
addCondition(Condition condition)
Adds a condition instance to this conditions.
|
void |
addOutputPath(String path,
String patterns)
Adds a path to the output paths.
|
List<Condition> |
getConditions()
Gets the condition instances defined in this conditions instance.
|
(package private) Map<String,String[]> |
getOutputPaths()
Gets the current output paths for this condition.
|
String |
getType()
Gets the type of this conditions instance.
|
void |
setType(String type)
Sets the type of this conditions instance.
|
static final String TYPE_AND
static final String TYPE_OR
public Conditions()
public String getType()
public void setType(String type)
type
- The type to set.public void addCondition(Condition condition)
condition
- the condition which must apply to this conditions instance.public List<Condition> getConditions()
public void addOutputPath(String path, String patterns)
path
- the path to the resulting outputpatterns
- any patterns to which the conditions should applyfinal Map<String,String[]> getOutputPaths()
Copyright © 2005–2014 AndroMDA.org. All rights reserved.