public class ElementsWithSameDesignPatternSelection extends java.lang.Object implements ScopeSelectionStrategy
Constructor and Description |
---|
ElementsWithSameDesignPatternSelection()
Instantiates a new elements with same design pattern selection.
|
ElementsWithSameDesignPatternSelection(ScopeSelectionStrategy strategy)
Instantiates a new elements with same design pattern selection.
|
Modifier and Type | Method and Description |
---|---|
Scope |
selectScope(Architecture architecture,
Patterns designPattern)
Select scope.
|
public ElementsWithSameDesignPatternSelection()
public ElementsWithSameDesignPatternSelection(ScopeSelectionStrategy strategy)
strategy
- the strategypublic Scope selectScope(Architecture architecture, Patterns designPattern)
selectScope
in interface ScopeSelectionStrategy
architecture
- the architecturedesignPattern
- the design pattern