|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.aop.Matcher
public class Matcher
I match class and method names to data in this matcher
Constructor Summary | |
---|---|
init()
Constructor |
Method Summary | |
---|---|
any |
andMatch(any matcher)
AND this matcher with another matcher |
any |
annotatedWith(any annotation, [any value])
Matches annotations on components or methods with or without a value |
any |
any()
Match against any method name or class path |
any |
getMemento()
Get the matcher memento |
any |
instanceOf(any classPath)
Matches against a family of components according to the passed classPath |
any |
mappings(any mappings)
Match one, list or array of mapping names |
boolean |
matchClass(any target, any<Mapping> mapping)
Matches a class to this matcher according to its criteria |
private boolean |
matchClassRules(any target, any<Mapping> mapping)
Go through all the rules in this matcher and match |
boolean |
matchMethod(any metadata)
Matches a method to this matcher according to its criteria |
private boolean |
matchMethodRules(any metadata)
Go through all the rules in this matcher and match |
any |
methods(any methods)
A list, one or an array of methods to explicitly match |
any |
orMatch(any matcher)
OR this matcher with another matcher |
any |
regex(any regex)
Matches a class path or method name to this regular expression |
any |
reset()
Reset the matcher memento to defaults |
any |
returns(any type)
Match against return types in methods only |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public any andMatch(any matcher)
matcher
- The matcher to AND this matcher withpublic any annotatedWith(any annotation, [any value])
annotation
- The annotation to discovervalue
- The value of the annotation that must match. OPTIONALpublic any any()
public any getMemento()
public any instanceOf(any classPath)
classPath
- The class path to verify instance ofpublic any mappings(any mappings)
mappings
- One, list or array of mappings to matchpublic boolean matchClass(any target, any<Mapping> mapping)
target
- The target to match against tomapping
- The target mapping to match against toprivate boolean matchClassRules(any target, any<Mapping> mapping)
target
- The target to match against tomapping
- The target mapping to match against topublic boolean matchMethod(any metadata)
metadata
- The UDF metadata to use for matchingprivate boolean matchMethodRules(any metadata)
metadata
- The UDF metadata to use for matchingpublic any methods(any methods)
methods
- One, list or array of methods to matchpublic any orMatch(any matcher)
matcher
- The matcher to OR this matcher withpublic any regex(any regex)
regex
- The regular expression to match againstpublic any reset()
public any returns(any type)
type
- The type of return to match against. Only for method matching
|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |