Class ProcessToDataStoreComm
java.lang.Object
org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification<ProcessToDataStoreComm.Matcher>
org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<ProcessToDataStoreComm.Matcher>
be.kuleuven.cs.distrinet.sparta.queries.ProcessToDataStoreComm
- All Implemented Interfaces:
org.eclipse.viatra.query.runtime.api.IQuerySpecification<ProcessToDataStoreComm.Matcher>,org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader
public final class ProcessToDataStoreComm
extends org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<ProcessToDataStoreComm.Matcher>
A pattern-specific query specification that can instantiate Matcher in a type-safe way.
Original source:
pattern processToDataStoreComm(location : Process, p2 : DataStore, df : DataFlow,
t : ThreatType) {
Process(location); DataStore(p2); DataFlow(df);
find threatApplicable(location,t,"ProcessToDataStore");
find communication(location,df,p2);
}
or {
// add inverse direction
Process(location); DataStore(p2); DataFlow(df);
find threatApplicable(location,t,"DataStoreToProcess");
find communication(p2,df,location);
}
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPattern-specific match representation of the be.kuleuven.cs.distrinet.sparta.queries.processToDataStoreComm pattern, to be used in conjunction withProcessToDataStoreComm.Matcher.static classGenerated pattern matcher API of the be.kuleuven.cs.distrinet.sparta.queries.processToDataStoreComm pattern, providing pattern-specific query methods. -
Field Summary
Fields inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification
wrappedPQuery -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessToDataStoreComminstance()protected ProcessToDataStoreComm.Matcherinstantiate(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) Methods inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification
getPreferredScopeClassMethods inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification
ensureInitializedInternal, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, getVisibility, processInitializerErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.viatra.query.runtime.api.IQuerySpecification
getPProblems, getStatusMethods inherited from interface org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader
getParameter, getSimpleName
-
Method Details
-
instance
- Returns:
- the singleton instance of the query specification
-
instantiate
protected ProcessToDataStoreComm.Matcher instantiate(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) - Specified by:
instantiatein classorg.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification<ProcessToDataStoreComm.Matcher>
-
instantiate
- Specified by:
instantiatein interfaceorg.eclipse.viatra.query.runtime.api.IQuerySpecification<ProcessToDataStoreComm.Matcher>- Overrides:
instantiatein classorg.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification<ProcessToDataStoreComm.Matcher>
-
newEmptyMatch
-
newMatch
-