class SpreadsheetImportActivity extends AbstractAsynchronousActivity<JsonNode> {

	@Override
	public void configure(JsonNode configurationBean)
			throws ActivityConfigurationException {
		this.configurationBean = configurationBean;
		rowRange = SpreadsheetUtils.getRange(configurationBean.get("rowRange"));
		logger.debug("Setting row range to " + rowRange);
		columnRange = SpreadsheetUtils.getRange(configurationBean.get("columnRange"));
		logger.debug("Setting column range to " + columnRange);
		ignoreBlankRows = configurationBean.get("ignoreBlankRows").booleanValue();
		missingCellValue = configurationBean.get("emptyCellValue").textValue();
		logger.debug("Setting empty cell value to '" + missingCellValue + "'");
		emptyCellPolicy = SpreadsheetEmptyCellPolicy.valueOf(configurationBean.get("emptyCellPolicy").textValue());
		logger.debug("Setting empty cell policy to " + emptyCellPolicy);
		outputFormat = SpreadsheetOutputFormat.valueOf(configurationBean.get("outputFormat").textValue());
		logger.debug("Setting output format to " + outputFormat);
		csvDelimiter = configurationBean.get("csvDelimiter").textValue();
		logger.debug("Setting csv delimiter to '" + csvDelimiter + "'");
//		configurePorts();
	}

	public  SpreadsheetImportActivity();

}