private Runnable decorateTask ( Runnable task , boolean isRepeatingTask ) { Runnable result = TaskUtils . decorateTaskWithErrorHandler ( task , this . errorHandler , isRepeatingTask ) ; if ( this . enterpriseConcurrentScheduler ) { result = ManagedTaskBuilder . buildManagedTask ( result , task . toString ( ) ) ; } return result ; }
Decorate task .