class ProcessVariableReader {

    static String getProcessVariables(List<Property> properties) {
        return properties
                .stream()
                .filter(ProcessVariableReader::isProcessVariable)
                .map(ProcessVariableReader::toProcessVariableString)
                .collect(Collectors.joining(","));
    }

}