class CaseFileVariableReader {

    static String getCaseFileVariables(List<Property> properties) {
        return properties
                .stream()
                .filter(CaseFileVariableReader::isCaseFileVariable)
                .map(CaseFileVariableReader::toCaseFileVariableString)
                .collect(Collectors.joining(","));
    }

}