class DataGatheringParams {

	public static List<String> getContextRegisterList(String contextRegsCSV) {
		List<String> contextRegisters = new ArrayList<>();

		if (contextRegsCSV == null) {
			return contextRegisters;
		}
		contextRegsCSV = contextRegsCSV.trim();
		//literal string null: this can be a value in a .properties file
		if ((contextRegsCSV.equals("")) || contextRegsCSV.equals("null")) {
			return contextRegisters;
		}

		String[] components = contextRegsCSV.split(",");
		for (String component : components) {
			if (!StringUtils.isEmpty(component.trim())) {
				contextRegisters.add(component.trim());
			}
		}
		return contextRegisters;
	}

	public  DataGatheringParams();

}