in src/main/java/com/epam/grid/engine/provider/queue/sge/SgeQueueProvider.java [223:244]
private Context createQueueUpdateContext(final QueueVO queueVO, final Queue queue) {
final Context context = new Context();
final String hostList = isParameterExists(queueVO.getHostList())
? String.join(SPACE, queueVO.getHostList())
: String.join(SPACE, queue.getHostList());
final String peList = isParameterExists(queueVO.getParallelEnvironmentNames())
? String.join(SPACE, queueVO.getParallelEnvironmentNames())
: String.join(SPACE, queue.getParallelEnvironmentNames());
final String ownerList = isParameterExists(queueVO.getOwnerList())
? String.join(SPACE, queueVO.getOwnerList())
: String.join(SPACE, queue.getOwnerList());
final String userList = isParameterExists(queueVO.getAllowedUserGroups())
? String.join(SPACE, queueVO.getAllowedUserGroups())
: String.join(SPACE, queue.getAllowedUserGroups());
context.setVariable(QNAME_FIELD, queueVO.getName());
context.setVariable(HOST_LIST_FIELD, hostList);
context.setVariable(PE_LIST_FIELD, peList);
context.setVariable(OWNER_LIST_FIELD, ownerList);
context.setVariable(USER_LIST_FIELD, userList);
return context;
}