public class FileDataSource extends AbstractDataSource implements MockDataSource
Modifier and Type | Class and Description |
---|---|
class |
FileDataSource.SelectFileAction
Implements a Call To Action panel default action (browse for any file)
|
Modifier and Type | Field and Description |
---|---|
static com.eviware.soapui.support.MessageSupport |
messages |
static String |
TYPE |
Constructor and Description |
---|
FileDataSource() |
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) |
String |
getCharset() |
JComponent |
getComponent() |
String |
getFileName() |
JComponent |
getPreparedProperties() |
com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] |
getPropertyExpansions() |
String |
getSeparator() |
protected void |
internalFinish() |
protected void |
internalLoad(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) |
protected com.eviware.soapui.support.types.StringToStringMap |
internalNext(List<String> properties) |
protected void |
internalPrepare() |
boolean |
isExhausted() |
boolean |
isLoaded() |
boolean |
isQuoted() |
boolean |
isTrim() |
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 |
setCharset(String charset) |
void |
setFileName(String fileName) |
void |
setQuoted(boolean quoted) |
void |
setSeparator(String separator) |
void |
setTrim(boolean trim) |
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 void prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, List<String> properties)
prepare
in interface DataSource
protected void internalPrepare()
public JComponent getPreparedProperties()
getPreparedProperties
in interface DataSource
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
protected void internalLoad(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) throws UnsupportedEncodingException, FileNotFoundException
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
protected com.eviware.soapui.support.types.StringToStringMap internalNext(List<String> properties)
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 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.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext context, List<String> properties) throws Exception
load
in interface MockDataSource
Exception
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.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
protected void internalFinish()
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 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 String getFileName()
public void setFileName(String fileName)
public String getCharset()
public void setCharset(String charset)
public boolean isTrim()
public void setTrim(boolean trim)
public boolean isQuoted()
public void setQuoted(boolean quoted)
public String getSeparator()
public void setSeparator(String separator)
Copyright © 2019. All rights reserved.