Class ProcessToExternalEntityComm

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

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

Original source:

         pattern processToExternalEntityComm(location : Process, p2 : ExternalEntity, df : DataFlow,
                                                                                t : ThreatType) {
                Process(location); ExternalEntity(p2); DataFlow(df);
                
                find threatApplicable(location,t,"ProcessToExternalEntity");
                
                find communication(location,df,p2);
         } 
         or {
                // add inverse direction
                Process(location); ExternalEntity(p2); DataFlow(df);
                
                find threatApplicable(location,t,"ExternalEntityToProcess");
                
                find communication(p2,df,location);
         }
 
See Also: