public void setTasks(List<@Valid WorkflowTask> tasks) {
        this.tasks = tasks;
    }
@param tasks the tasks to set
common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowDef.java