com.eviware.soapui.impl.wsdl.teststeps
Class WsdlPropertiesTestStep
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.model.support.AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
com.eviware.soapui.impl.wsdl.teststeps.WsdlPropertiesTestStep
- All Implemented Interfaces:
- MutableTestPropertyHolder, ModelItem, TestModelItem, TestPropertyHolder, ResultContainer, TestStep, PropertyChangeNotifier
public class WsdlPropertiesTestStep
- extends WsdlTestStep
- implements MutableTestPropertyHolder
TestStep that holds an arbitrary number of custom properties
- Author:
- ole.matzura
| Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep |
afterCopy, cancel, clone, createPanelBuilder, dependsOn, finish, getDefaultSourcePropertyName, getDefaultTargetPropertyName, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName |
| Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem |
addExternalDependencies, afterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, release, setConfig, setDescription, setIcon, setSettings |
| Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE_PROPERTY
public static final java.lang.String SOURCE_PROPERTY
TARGET_PROPERTY
public static final java.lang.String TARGET_PROPERTY
WsdlPropertiesTestStep
public WsdlPropertiesTestStep(WsdlTestCase testCase,
com.eviware.soapui.config.TestStepConfig config,
boolean forLoadTest)
run
public TestStepResult run(TestCaseRunner testRunner,
TestCaseRunContext testRunContext)
- Specified by:
run in interface TestStep
getTestStepPropertyAt
public TestProperty getTestStepPropertyAt(int index)
getStepPropertyCount
public int getStepPropertyCount()
getSource
public java.lang.String getSource()
setSource
public void setSource(java.lang.String source)
getTarget
public java.lang.String getTarget()
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel in interface TestStep- Overrides:
getLabel in class WsdlTestStep
setTarget
public void setTarget(java.lang.String target)
resetConfigOnMove
public void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
- Description copied from class:
WsdlTestStep
- Called from WsdlTestCase when moving a teststep due to no move
functionality in xmlbeans generated arrays.
- Overrides:
resetConfigOnMove in class WsdlTestStep
- Parameters:
config - the new config to use, will be a copy of the existing one. The
current will be invalid
loadProperties
public int loadProperties(boolean createMissing)
throws java.io.IOException
- Throws:
java.io.IOException
saveProperties
public int saveProperties()
throws java.io.IOException
- Throws:
java.io.IOException
isCreateMissingOnLoad
public boolean isCreateMissingOnLoad()
setCreateMissingOnLoad
public void setCreateMissingOnLoad(boolean b)
isSaveFirst
public boolean isSaveFirst()
setSaveFirst
public void setSaveFirst(boolean b)
isDiscardValuesOnSave
public boolean isDiscardValuesOnSave()
setDiscardValuesOnSave
public void setDiscardValuesOnSave(boolean b)
setPropertyValue
public void setPropertyValue(java.lang.String name,
java.lang.String value)
- Specified by:
setPropertyValue in interface TestPropertyHolder
beforeSave
public void beforeSave()
- Overrides:
beforeSave in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
clearPropertyValues
public void clearPropertyValues()
renameProperty
public boolean renameProperty(java.lang.String name,
java.lang.String newName)
- Specified by:
renameProperty in interface MutableTestPropertyHolder
addProperty
public TestProperty addProperty(java.lang.String name)
- Specified by:
addProperty in interface MutableTestPropertyHolder
addTestPropertyListener
public void addTestPropertyListener(TestPropertyListener listener)
- Specified by:
addTestPropertyListener in interface TestPropertyHolder
getProperties
public java.util.Map<java.lang.String,TestProperty> getProperties()
- Specified by:
getProperties in interface TestPropertyHolder
getProperty
public TestProperty getProperty(java.lang.String name)
- Specified by:
getProperty in interface TestPropertyHolder
getPropertyAt
public TestProperty getPropertyAt(int index)
- Specified by:
getPropertyAt in interface TestPropertyHolder
getPropertyList
public java.util.List<TestProperty> getPropertyList()
- Specified by:
getPropertyList in interface TestPropertyHolder
getPropertyCount
public int getPropertyCount()
- Specified by:
getPropertyCount in interface TestPropertyHolder
getPropertyNames
public java.lang.String[] getPropertyNames()
- Specified by:
getPropertyNames in interface TestPropertyHolder
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String name)
- Specified by:
getPropertyValue in interface TestPropertyHolder
removeProperty
public TestProperty removeProperty(java.lang.String propertyName)
- Specified by:
removeProperty in interface MutableTestPropertyHolder
removeTestPropertyListener
public void removeTestPropertyListener(TestPropertyListener listener)
- Specified by:
removeTestPropertyListener in interface TestPropertyHolder
hasProperty
public boolean hasProperty(java.lang.String name)
- Specified by:
hasProperty in interface TestPropertyHolder
addExternalDependency
public void addExternalDependency(java.util.List<ExternalDependency> dependencies)
resolve
public void resolve(ResolveContext<?> context)
- Overrides:
resolve in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
moveProperty
public void moveProperty(java.lang.String propertyName,
int targetIndex)
- Specified by:
moveProperty in interface MutableTestPropertyHolder
getSource
public java.lang.String getSource(boolean expand)
getTarget
public java.lang.String getTarget(boolean expand)
Copyright © 2005-2011 eviware.com. All Rights Reserved.