| java.lang.Object org.andromda.core.configuration.Filters
Method Summary | |
public void | addFilter(Filter filter) Adds the filter to the underlying filters store. | public void | addFilters(Filters filters) Adds all
Filter instances in the given filters
to this instance. | public Filter[] | getFilters() Gets the actual filters that belong to this filters instance. | public boolean | isApply(String value) Determines whether or not the value should be applied. | public boolean | isEmpty() Indicates whether or not this model filters instance
has any filtering defined. | public boolean | match(String value, String pattern) Provides matching of simple wildcards. | public void | setApplyAll(boolean applyAll) Sets whether or not AndroMDA should apply all filters on a model. |
addFilter | public void addFilter(Filter filter)(Code) | | Adds the filter to the underlying filters store.
Parameters: filter - the Filter instance. |
addFilters | public void addFilters(Filters filters)(Code) | | Adds all
Filter instances in the given filters
to this instance.
Parameters: filters - the Filters instance to add. |
getFilters | public Filter[] getFilters()(Code) | | Gets the actual filters that belong to this filters instance.
the filters to retrieve. |
isApply | public boolean isApply(String value)(Code) | | Determines whether or not the value should be applied. If
applyAll is true, then this method will return false only if the Filter
corresponding to the value has apply set to false.
Parameters: value - the name of the model filter to check. true/false |
isEmpty | public boolean isEmpty()(Code) | | Indicates whether or not this model filters instance
has any filtering defined.
true/false |
match | public boolean match(String value, String pattern)(Code) | | Provides matching of simple wildcards. (i.e. '*.java' etc.)
Parameters: value - the value to match against. Parameters: pattern - the pattern to check if the path matches. true if the value matches the given pattern , false otherwise. |
setApplyAll | public void setApplyAll(boolean applyAll)(Code) | | Sets whether or not AndroMDA should apply all filters on a model. If this is set to true, then filter values should be
specified if you want to keep certain filters from being being applied. If this is set to false, then you would want
to define filter elements to specify which filters SHOULD BE applied.
Parameters: applyAll - whether or not we should apply all filters true/false |
|
|