@ Service public String updateTask ( TaskResult taskResult ) { LOGGER . debug ( "Update Task: {} with callback time: {}" , taskResult , taskResult . getCallbackAfterSeconds ( ) ) ; executionService . updateTask ( taskResult ) ; LOGGER . debug ( "Task: {} updated successfully with callback time: {}" , taskResult , taskResult . getCallbackAfterSeconds ( ) ) ; return taskResult . getTaskId ( ) ; }
Updates a task .