public class PropertyTransfer extends Object implements PropertyChangeNotifier
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPERTY |
static String |
DISABLED_PROPERTY |
static String |
NAME_PROPERTY |
static String |
SOURCE_PATH_PROPERTY |
static String |
SOURCE_STEP_PROPERTY |
static String |
SOURCE_TYPE_PROPERTY |
static String |
TARGET_PATH_PROPERTY |
static String |
TARGET_STEP_PROPERTY |
static String |
TARGET_TYPE_PROPERTY |
Constructor and Description |
---|
PropertyTransfer(TestStep testStep) |
PropertyTransfer(TestStep testStep,
PropertyTransferConfig config) |
public static final String SOURCE_PATH_PROPERTY
public static final String SOURCE_TYPE_PROPERTY
public static final String SOURCE_STEP_PROPERTY
public static final String TARGET_PATH_PROPERTY
public static final String TARGET_TYPE_PROPERTY
public static final String TARGET_STEP_PROPERTY
public static final String NAME_PROPERTY
public static final String DISABLED_PROPERTY
public static final String CONFIG_PROPERTY
public PropertyTransfer(TestStep testStep)
public PropertyTransfer(TestStep testStep, PropertyTransferConfig config)
public void setSourcePathLanguage(PathLanguage language)
public PathLanguage getSourcePathLanguage()
public void setTargetPathLanguage(PathLanguage language)
public PathLanguage getTargetPathLanguage()
public void releaseListeners()
public void release()
public PropertyTransferConfig getConfig()
public String getSourcePath()
public String getTargetPath()
public TestProperty getSourceProperty()
public String[] transferProperties(SubmitContext context) throws PropertyTransferException
PropertyTransferException
protected String[] transferXPathToXml(TestProperty sourceProperty, TestProperty targetProperty, SubmitContext context) throws Exception
Exception
public String getSourcePropertyName()
public void setSourcePropertyName(String name)
public TestProperty getTargetProperty()
public String getTargetPropertyName()
public void setTargetPropertyName(String name)
public String getName()
public void setSourcePath(String path)
public void setTargetPath(String path)
public void setName(String name)
public TestPropertyHolder getSourceStep()
public String getSourceStepName()
public void setSourceStepName(String sourceStep)
public TestPropertyHolder getTargetStep()
public String getTargetStepName()
public void setTargetStepName(String targetStep)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public boolean getFailOnError()
public void setFailOnError(boolean failOnError)
public boolean getTransferToAll()
public void setTransferToAll(boolean transferToAll)
public boolean getUseXQuery()
public void setUseXQuery(boolean useXQuery)
public boolean getEntitize()
public void setEntitize(boolean entitize)
public boolean getIgnoreEmpty()
public void setIgnoreEmpty(boolean ignoreEmpty)
public boolean getSetNullOnMissingSource()
public void setSetNullOnMissingSource(boolean setNullOnMissingSource)
public boolean getTransferTextContent()
public void setTransferTextContent(boolean transferTextContent)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public boolean getTransferChildNodes()
public void setTransferChildNodes(boolean b)
public void resolve(ResolveContext<?> context, PropertyTransfersTestStep parent)
Copyright © 2019. All Rights Reserved.