public void parseProcessDefinitions ( ) { for ( Element processElement : rootElement . elements ( "process" ) ) { boolean isExecutable = ! deployment . isNew ( ) ; String isExecutableStr = processElement . attribute ( "isExecutable" ) ; if ( isExecutableStr != null ) { isExecutable = Boolean . parseBoolean ( isExecutableStr ) ; if ( ! isExecutable ) { LOG . ignoringNonExecutableProcess ( processElement . attribute ( "id" ) ) ; } } else { LOG . missingIsExecutableAttribute ( processElement . attribute ( "id" ) ) ; } // Only process executable processes if ( isExecutable ) { processDefinitions . add ( parseProcess ( processElement ) ) ; } } }
Parses all the process definitions defined within the definitions root element .