private AuditUtilityTask getTask ( String taskName ) { AuditUtilityTask task = null ; for ( AuditUtilityTask availTask : tasks ) { if ( availTask . getTaskName ( ) . equals ( taskName ) ) { task = availTask ; } } return task ; }
Given a task name return the corresponding AuditUtilityTask .