protected List < String > getSatisfiedSentriesInExecutionTree ( List < String > sentryIds , Map < String , List < CmmnSentryPart > > allSentries ) { List < String > result = new ArrayList < String > ( ) ; if ( sentryIds != null ) { for ( String sentryId : sentryIds ) { List < CmmnSentryPart > sentryParts = allSentries . get ( sentryId ) ; if ( isSentryPartsSatisfied ( sentryId , sentryParts ) ) { result . add ( sentryId ) ; } } } return result ; }
Checks for each given sentry id in the execution tree whether the corresponding sentry is satisfied .