public class ExcelDataSource extends AbstractDataSource implements MockDataSource
Modifier and Type | Class and Description |
---|---|
class |
ExcelDataSource.SelectExcelFileAction
Implements a Call To Action panel default action (browse for excel file)
|
Modifier and Type | Field and Description |
---|---|
static int |
MAX_FILE_SIZE_FOR_PARSING_IN_MEMORY |
static com.eviware.soapui.support.MessageSupport |
messages |
static String |
TYPE |
Constructor and Description |
---|
ExcelDataSource() |
Modifier and Type | Method and Description |
---|---|
void |
addExternalDependency(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies) |
void |
finish(com.eviware.soapui.model.mock.MockRunner testRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext) |
void |
finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) |
static int |
getColumn(String s)
Gets the column number of the string cell reference
|
JComponent |
getComponent() |
boolean |
getEvaluateFormulas() |
String |
getFileName() |
boolean |
getIgnoreEmpty() |
JComponent |
getPreparedProperties() |
com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] |
getPropertyExpansions() |
static int |
getRow(String s)
Gets the row number of the cell reference
|
String |
getStartCell() |
String |
getWorksheet() |
boolean |
isExhausted() |
boolean |
isLoaded() |
void |
load(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext context,
List<String> properties) |
void |
load(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties) |
protected void |
load(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader) |
void |
loadConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader) |
com.eviware.soapui.support.types.StringToStringMap |
next(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext context,
List<String> properties) |
com.eviware.soapui.support.types.StringToStringMap |
next(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties) |
void |
prepare(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext context,
List<String> properties) |
void |
prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties) |
void |
resolve(com.eviware.soapui.support.resolver.ResolveContext<?> context) |
protected void |
save(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder) |
void |
saveConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder) |
void |
setEvaluateFormulas(boolean evaluateFormulas) |
void |
setFileName(String fileName) |
void |
setIgnoreEmpty(boolean ignoreEmpty) |
void |
setStartCell(String startCell) |
void |
setWorksheet(String worksheet) |
getConfig, getDataSourceContainer, getDescription, getTestCase, getType, init, release, saveConfig, sendAnalytics, setConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfig, getDescription, getType, release, setConfig
public static final com.eviware.soapui.support.MessageSupport messages
public static final String TYPE
public static final int MAX_FILE_SIZE_FOR_PARSING_IN_MEMORY
public static int getColumn(String s)
s
- the string to parsepublic static int getRow(String s)
public void prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, List<String> properties)
prepare
in interface DataSource
public void prepare(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext context, List<String> properties) throws Exception
prepare
in interface MockDataSource
Exception
public void load(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, List<String> properties) throws Exception
load
in interface DataSource
Exception
public void load(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext context, List<String> properties) throws Exception
load
in interface MockDataSource
Exception
public JComponent getPreparedProperties()
getPreparedProperties
in interface DataSource
public boolean isLoaded()
isLoaded
in interface DataSource
public boolean isExhausted()
isExhausted
in interface DataSource
public com.eviware.soapui.support.types.StringToStringMap next(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, List<String> properties)
next
in interface DataSource
public com.eviware.soapui.support.types.StringToStringMap next(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext context, List<String> properties) throws Exception
next
in interface MockDataSource
Exception
public void finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext)
finish
in interface DataSource
finish
in class AbstractDataSource
public void finish(com.eviware.soapui.model.mock.MockRunner testRunner, com.eviware.soapui.model.mock.MockRunContext mockRunContext)
finish
in interface MockDataSource
public void loadConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader)
loadConfiguration
in interface MockDataSource
public void saveConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder)
saveConfiguration
in interface MockDataSource
public JComponent getComponent()
getComponent
in interface DataSource
protected void load(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader)
load
in class AbstractDataSource
protected void save(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder)
save
in class AbstractDataSource
public com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface DataSource
getPropertyExpansions
in class AbstractDataSource
public String getFileName()
public void setFileName(String fileName)
public void resolve(com.eviware.soapui.support.resolver.ResolveContext<?> context)
resolve
in interface DataSource
resolve
in class AbstractDataSource
public void addExternalDependency(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies)
addExternalDependency
in interface DataSource
public boolean getIgnoreEmpty()
public void setIgnoreEmpty(boolean ignoreEmpty)
public String getStartCell()
public void setStartCell(String startCell)
public String getWorksheet()
public void setWorksheet(String worksheet)
public boolean getEvaluateFormulas()
public void setEvaluateFormulas(boolean evaluateFormulas)
Copyright © 2019. All rights reserved.