private ScheduledTask makeTask(String role, String job, String taskId, int priority,
String env, boolean production) {
AssignedTask assignedTask = new AssignedTask()
.setTaskId(taskId)
.setTask(new TaskConfig()
.setOwner(new Identity(role, role))
.setPriority(priority)
.setProduction(production)
.setJobName(job)
.setEnvironment(env)