Class ExternalEntityToProcessComm

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

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

Original source:

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