QuerySpecificationRegistry.getInstance()
and read notes on deprecated methods for usage.public final class QuerySpecificationRegistry
extends java.lang.Object
ExtensionBasedQuerySpecificationLoader
class.Modifier and Type | Method and Description |
---|---|
static java.util.Set<IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> |
getContributedQuerySpecifications()
Deprecated.
Use getDefaultView().getQueryGroup().getSpecifications() instead
|
static java.util.Set<IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> |
getPatternGroup(java.lang.String packageFQN)
Deprecated.
Use new
PackageBasedQueryGroup (String packageFQN).getSpecifications() instead |
static java.util.Set<IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> |
getPatternSubTree(java.lang.String packageFQN)
Deprecated.
Use
PackageBasedQueryGroup (String packageFQN, true).getSpecifications() instead |
static IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>> |
getQuerySpecification(java.lang.String patternFQN)
Deprecated.
Use getDefaultView().getEntry(String).get() instead
|
static void |
registerQuerySpecification(IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>> specification)
Deprecated.
Register your own
IRegistrySourceConnector through #addSource instead to add and
remove specifications. |
static void |
unregisterQuerySpecification(java.lang.String patternFQN)
Deprecated.
Register your own
IRegistrySourceConnector through #addSource instead to add and
remove specifications. |
public static void registerQuerySpecification(IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>> specification)
IRegistrySourceConnector
through #addSource
instead to add and
remove specifications.specification
- public static void unregisterQuerySpecification(java.lang.String patternFQN)
IRegistrySourceConnector
through #addSource
instead to add and
remove specifications.patternFQN
- the fully qualified name of the patternpublic static java.util.Set<IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> getContributedQuerySpecifications()
public static IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>> getQuerySpecification(java.lang.String patternFQN)
patternFQN
- the fully qualified name of a registered generated patternpublic static java.util.Set<IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> getPatternGroup(java.lang.String packageFQN)
PackageBasedQueryGroup
(String packageFQN).getSpecifications() insteadpackageFQN
- the fully qualified name of the packagepublic static java.util.Set<IQuerySpecification<? extends ViatraQueryMatcher<? extends IPatternMatch>>> getPatternSubTree(java.lang.String packageFQN)
PackageBasedQueryGroup
(String packageFQN, true).getSpecifications() insteadpackageFQN
- the fully qualified name of the package