@OpenApiAll
public abstract class AbstractPattern
extends java.lang.Object
| Constructor and Description |
|---|
AbstractPattern() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
applyPattern(Target target,
AbstractPatternProperties prop)
Applies design pattern to the target, using properties, passed as an argument.
|
boolean |
canBeApplied(Target target)
Checks if this pattern can be applied to the given target.
|
abstract java.lang.String[] |
getCategorizedName()
Returns the categorized name of the pattern.
|
public abstract java.lang.String[] getCategorizedName()
public abstract void applyPattern(Target target, AbstractPatternProperties prop) throws ReadOnlyElementException
target - Target, the pattern is applied for.prop - the pattern properties.ReadOnlyElementExceptionpublic boolean canBeApplied(Target target)