PolicyInfo getPolicy ( String policyName ) { for ( PolicyInfo policy : allPolicies ) { if ( policyName . equals ( policy . getName ( ) ) ) { return policy ; } } return null ; }
Find the PolicyInfo corresponding to a given policy name