public final class QuerySpecificationRegistry
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Set<IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>>> |
getContributedQuerySpecifications() |
static java.util.Set<IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>>> |
getPatternGroup(java.lang.String packageFQN)
Returns the set of query specifications in a given package.
|
static java.util.Set<IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>>> |
getPatternSubTree(java.lang.String packageFQN)
Returns the set of query specifications in a given package.
|
static IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>> |
getQuerySpecification(java.lang.String patternFQN) |
static void |
registerQuerySpecification(IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>> specification)
Puts the specification in the registry, unless it already contains a specification for the given pattern FQN
|
static void |
unregisterQuerySpecification(java.lang.String patternFQN)
Removes the query specification from the registry which belongs to the given fully qualified pattern name.
|
public static void registerQuerySpecification(IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>> specification)
specification
- public static void unregisterQuerySpecification(java.lang.String patternFQN)
patternFQN
- the fully qualified name of the patternpublic static java.util.Set<IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>>> getContributedQuerySpecifications()
public static IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>> getQuerySpecification(java.lang.String patternFQN)
patternFQN
- the fully qualified name of a registered generated patternpublic static java.util.Set<IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>>> getPatternGroup(java.lang.String packageFQN)
packageFQN
- the fully qualified name of the packagepublic static java.util.Set<IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>>> getPatternSubTree(java.lang.String packageFQN)
packageFQN
- the fully qualified name of the package