|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.canoo.webtest.steps.Step
com.canoo.webtest.steps.store.BaseStoreStep
com.canoo.webtest.steps.store.StorePropertyStep
public class StorePropertyStep
Step which stores a value into a property.
| Field Summary |
|---|
| Fields inherited from class com.canoo.webtest.steps.Step |
|---|
DEFAULT_DESCRIPTION, ELEMENT_ATTRIBUTE_ID, ELEMENT_ATTRIBUTE_NAME, PROPERTY_TYPE_ANT, PROPERTY_TYPE_ANT_STRICT, PROPERTY_TYPE_DEFAULT, PROPERTY_TYPE_DYNAMIC |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
StorePropertyStep()
|
|
| Method Summary | |
|---|---|
void |
addText(String text)
The property value if inlined. |
void |
doExecute()
Called to perform the step's functionality. |
double |
evaluate(String s)
Evaluates a special string value. |
String |
getEval()
|
String |
getName()
|
String |
getValue()
|
boolean |
isEval()
|
protected void |
loadProperties(File file)
Load properties from a file |
void |
setEval(String eval)
Sets the eval flag |
void |
setFile(File propertiesFile)
|
void |
setName(String name)
Sets the property name |
void |
setValue(String value)
Sets the property value |
protected void |
verifyParameters()
Called to let the step's implementation validate its parameters. |
| Methods inherited from class com.canoo.webtest.steps.store.BaseStoreStep |
|---|
getComputedValue, getProperty, getPropertyType, isPerformingAction, setProperty, setPropertyType, storeProperty, storeProperty |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StorePropertyStep()
| Method Detail |
|---|
public void doExecute()
Step
doExecute in class Steppublic String getName()
public void setName(String name)
name - public String getValue()
public void setValue(String value)
value - public boolean isEval()
public String getEval()
public void setEval(String eval)
eval - protected void verifyParameters()
StepStep.doExecute().
This implementation does nothing, overwrite as needed.
verifyParameters in class Steppublic double evaluate(String s)
Evaluator
evaluate in interface Evaluators - the string to evaluate
public void addText(String text)
text - The new valueprotected void loadProperties(File file)
file - file to load
BuildException - on errorpublic void setFile(File propertiesFile)
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||