public class WsdlPropertiesTestStep extends WsdlTestStep implements MutableTestPropertyHolder
Modifier and Type | Field and Description |
---|---|
static String |
SOURCE_PROPERTY |
static String |
TARGET_PROPERTY |
DISABLED_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WsdlPropertiesTestStep(WsdlTestCase testCase,
TestStepConfig config,
boolean forLoadTest) |
afterCopy, cancel, clone, createPanelBuilder, dependsOn, finish, getDefaultSourcePropertyName, getDefaultTargetPropertyName, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName
addExternalDependencies, afterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, release, setConfig, setDescription, setIcon, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModelItem, getPropertiesLabel
getChildren, getDescription, getIcon, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String SOURCE_PROPERTY
public static final String TARGET_PROPERTY
public WsdlPropertiesTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest)
public TestStepResult run(TestCaseRunner testRunner, TestCaseRunContext testRunContext)
public TestProperty getTestStepPropertyAt(int index)
public int getStepPropertyCount()
public String getSource()
public void setSource(String source)
public String getTarget()
public String getLabel()
getLabel
in interface TestStep
getLabel
in class WsdlTestStep
public void setTarget(String target)
public void resetConfigOnMove(TestStepConfig config)
WsdlTestStep
resetConfigOnMove
in class WsdlTestStep
config
- the new config to use, will be a copy of the existing one. The
current will be invalidpublic int loadProperties(boolean createMissing) throws IOException
IOException
public int saveProperties() throws IOException
IOException
public boolean isCreateMissingOnLoad()
public void setCreateMissingOnLoad(boolean b)
public boolean isSaveFirst()
public void setSaveFirst(boolean b)
public boolean isDiscardValuesOnSave()
public void setDiscardValuesOnSave(boolean b)
public void setPropertyValue(String name, String value)
setPropertyValue
in interface TestPropertyHolder
public void beforeSave()
beforeSave
in class AbstractWsdlModelItem<TestStepConfig>
public void clearPropertyValues()
public boolean renameProperty(String name, String newName)
renameProperty
in interface MutableTestPropertyHolder
public TestProperty addProperty(String name)
addProperty
in interface MutableTestPropertyHolder
public void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener
in interface TestPropertyHolder
public Map<String,TestProperty> getProperties()
getProperties
in interface TestPropertyHolder
public TestProperty getProperty(String name)
getProperty
in interface TestPropertyHolder
public TestProperty getPropertyAt(int index)
getPropertyAt
in interface TestPropertyHolder
public List<TestProperty> getPropertyList()
getPropertyList
in interface TestPropertyHolder
public int getPropertyCount()
getPropertyCount
in interface TestPropertyHolder
public String[] getPropertyNames()
getPropertyNames
in interface TestPropertyHolder
public String getPropertyValue(String name)
getPropertyValue
in interface TestPropertyHolder
public TestProperty removeProperty(String propertyName)
removeProperty
in interface MutableTestPropertyHolder
public void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener
in interface TestPropertyHolder
public boolean hasProperty(String name)
hasProperty
in interface TestPropertyHolder
public void addExternalDependency(List<ExternalDependency> dependencies)
public void resolve(ResolveContext<?> context)
resolve
in class AbstractWsdlModelItem<TestStepConfig>
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface MutableTestPropertyHolder
public String getSource(boolean expand)
public String getTarget(boolean expand)
Copyright © 2019. All Rights Reserved.