in src/main/java/com/epam/grid/engine/provider/parallelenv/sge/SgeParallelEnvProvider.java [140:154]
public List<ParallelEnv> listParallelEnv(final ParallelEnvFilter parallelEnvFilter) {
final ParallelEnvFilter filter = validateAndFormPeFilter(parallelEnvFilter);
final Context context = new Context();
context.setVariable(FILTER, filter);
final String[] command = commandCompiler.compileCommand(getProviderType(), QCONF_SP, context);
final List<EntitiesRawOutput> rawPeList = SgeOutputParsingUtils
.splitOutputToEntities(executeCommandAndGetOutput(command), PE_NAME);
return rawPeList.stream()
.map(EntitiesRawOutput::getRawEntitiesList)
.map(SgeOutputParsingUtils::parseEntitiesToMap)
.map(parallelEnvMapper::mapRawOutputToSgePe)
.map(parallelEnvMapper::mapSgePeToPe)
.collect(Collectors.toList());
}