Class ExternalEntityThroughProcessComm

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

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

Original source:

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