Class ProcessThroughExternalEntityComm

java.lang.Object
org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification<ProcessThroughExternalEntityComm.Matcher>
org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<ProcessThroughExternalEntityComm.Matcher>
be.kuleuven.cs.distrinet.sparta.queries.ProcessThroughExternalEntityComm
All Implemented Interfaces:
org.eclipse.viatra.query.runtime.api.IQuerySpecification<ProcessThroughExternalEntityComm.Matcher>, org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader

public final class ProcessThroughExternalEntityComm extends org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<ProcessThroughExternalEntityComm.Matcher>
A pattern-specific query specification that can instantiate Matcher in a type-safe way.

Original source:

         pattern processThroughExternalEntityComm(location : Process, p2 : ExternalEntity, df : DataFlow,
                                                                                t : ThreatType) {
                Process(location); ExternalEntity(p2); DataFlow(df);
                
                find threatApplicable(location,t,"ProcessThroughExternalEntity");
                
                find communication(location,df,p2);
                find flowContainerDiff(location,p2);
         } 
         or {
                // add inverse direction
                Process(location); ExternalEntity(p2); DataFlow(df);
                
                find threatApplicable(location,t,"ExternalEntityThroughProcess");
                
                find communication(p2,df,location);
                find flowContainerDiff(location,p2);
         }
 
See Also: