Class SubPackagesTopicMatcher
- java.lang.Object
-
- org.apache.sling.event.impl.support.SubPackagesTopicMatcher
-
- All Implemented Interfaces:
TopicMatcher
public class SubPackagesTopicMatcher extends Object implements TopicMatcher
Sub package matcher - the topic must be in the same package or a sub package.
-
-
Constructor Summary
Constructors Constructor Description SubPackagesTopicMatcher(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
match(String topic)
Check if the topic matches and return the variable part - null if not matching.String
toString()
-
-
-
Constructor Detail
-
SubPackagesTopicMatcher
public SubPackagesTopicMatcher(String name)
-
-
Method Detail
-
match
public String match(String topic)
Description copied from interface:TopicMatcher
Check if the topic matches and return the variable part - null if not matching.- Specified by:
match
in interfaceTopicMatcher
- See Also:
TopicMatcher.match(java.lang.String)
-
-