Package org.mozilla.zest.core.v1
Class ZestActionScan
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestAction
-
- org.mozilla.zest.core.v1.ZestActionScan
-
public class ZestActionScan extends ZestAction
The Class ZestActionScan.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestActionScan()Instantiates a new zest action scan.ZestActionScan(int index)Instantiates a new zest action scan.ZestActionScan(String targetParameter)Instantiates a new zest action scan.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestActionScandeepCopy()Deep copy.StringgetTargetParameter()Gets the target parameter.Stringinvoke(ZestResponse response, ZestRuntime runtime)Invoke.booleanisPassive()Checks if is passive.voidsetTargetParameter(String targetParameter)Sets the target parameter.-
Methods inherited from class org.mozilla.zest.core.v1.ZestAction
isSameSubclass
-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Constructor Detail
-
ZestActionScan
public ZestActionScan()
Instantiates a new zest action scan.
-
ZestActionScan
public ZestActionScan(String targetParameter)
Instantiates a new zest action scan.- Parameters:
targetParameter- the target parameter
-
ZestActionScan
public ZestActionScan(int index)
Instantiates a new zest action scan.- Parameters:
index- the index
-
-
Method Detail
-
getTargetParameter
public String getTargetParameter()
Gets the target parameter.- Returns:
- the target parameter
-
setTargetParameter
public void setTargetParameter(String targetParameter)
Sets the target parameter.- Parameters:
targetParameter- the new target parameter
-
deepCopy
public ZestActionScan deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestStatement- Returns:
- the zest element
-
invoke
public String invoke(ZestResponse response, ZestRuntime runtime) throws ZestActionFailException
Description copied from class:ZestActionInvoke.- Specified by:
invokein classZestAction- Parameters:
response- the response- Returns:
- the string
- Throws:
ZestActionFailException- the zest action fail exception
-
isPassive
public boolean isPassive()
Description copied from class:ZestStatementChecks if is passive.- Specified by:
isPassivein classZestStatement- Returns:
- true, if is passive
-
-