public class WorkbookMetaData extends Object
| Constructor and Description |
|---|
WorkbookMetaData() |
| Modifier and Type | Method and Description |
|---|---|
<COL extends TemplateColumn> |
getWorksheetDef(TemplateWorksheet ws) |
Collection<org.squashtest.tm.service.internal.batchimport.testcase.excel.WorksheetDef<? extends TemplateColumn>> |
getWorksheetDefs() |
void |
validate()
Validates this
WorksheetDef. |
public void validate()
throws TemplateMismatchException
WorksheetDef. Unrecoverable mismatches from template will throw an exception.TemplateMismatchException - when the metadata does not match the expected template in an unrecoverable way. The exception holds
all encountered mismatches.public <COL extends TemplateColumn> org.squashtest.tm.service.internal.batchimport.testcase.excel.WorksheetDef<COL> getWorksheetDef(TemplateWorksheet ws)
ws - the ws template for which we want the ws def.WorksheetDef matching the given ws template or nullpublic Collection<org.squashtest.tm.service.internal.batchimport.testcase.excel.WorksheetDef<? extends TemplateColumn>> getWorksheetDefs()
Copyright © 2010-2015 Henix, henix.fr. All Rights Reserved.