public static int getInstrumentationLevel ( String [ ] path ) { if ( disabled ) return LEVEL_UNDEFINED ; DataDescriptor dd = new DataDescriptor ( path ) ; ModuleItem item = findModuleItem ( dd ) ; if ( item == null ) { // wrong moduleName return LEVEL_UNDEFINED ; } else { return item . getInstance ( ) . getInstrumentationLevel ( ) ; } }
get instrumenation level based on the path during runtime