{
inputs.clear();
String[] cmds = new String[commands.length];
System.arraycopy(commands,0,cmds,0,commands.length);
String[] tagged_commands = parseCommands(user,cmds);
Job job = new Job(user,getServiceName(),getAppName(),tagged_commands, priority);
for(TaskInput is:inputs)
{
job.addInputStream(is.getName(),is.getData());
}
return job;
}