private void registerTaskInstances(){
  for (  TaskFromDBTrigger trigger : tasksList) {
    if (trigger.isValid()) {
      trigger.initTrigger();
    }
 else {
      log.error("Cannot load task from db with ID: " + trigger.getTaskId());
    }
  }
}

private void registerTaskInstances ( ) { for ( TaskFromDBTrigger trigger : tasksList ) { if ( trigger . isValid ( ) ) { trigger . initTrigger ( ) ; } else { log . error ( "Cannot load task from db with ID: " + trigger . getTaskId ( ) ) ; } } }
launching & checking task process
