class PipelineRun extends AbstractSecuredEntity {

    public void convertParamsToString(Map<String, PipeConfValueVO> parameters) {
        params = parameters
                .entrySet().stream()
                .map(entry -> {
                    String param = entry.getKey() + KEY_VALUE_DELIMITER +
                            entry.getValue().getValue();
                    if (StringUtils.hasText(entry.getValue().getType())) {
                        param += KEY_VALUE_DELIMITER + (entry.getValue().getType());
                    }
                    return param;
                })
                .collect(Collectors.joining(PARAM_DELIMITER));
    }

    public  PipelineRun();
    public  PipelineRun(Long id, String name);

}