public static List < ExternalEvent > getPathExternalEvents ( String bucket ) { if ( myPathCache . get ( bucket ) != null ) return myPathCache . get ( bucket ) ; else if ( bucket . indexOf ( ' ' ) > 0 ) { // We could have a sub-path return getPathExternalEvents ( bucket . substring ( 0 , bucket . lastIndexOf ( ' ' ) ) ) ; } return null ; }
returns the cached path - based external event