Package org.mozilla.zest.core.v1
Class ZestAction
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestAction
-
- Direct Known Subclasses:
ZestActionFail,ZestActionGlobalVariableRemove,ZestActionGlobalVariableSet,ZestActionIntercept,ZestActionInvoke,ZestActionPrint,ZestActionScan,ZestActionSleep
public abstract class ZestAction extends ZestStatement
The Class ZestAction.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestAction()Instantiates a new zest action.ZestAction(int index)Instantiates a new zest action.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Stringinvoke(ZestResponse response, ZestRuntime runtime)Invoke.booleanisSameSubclass(ZestElement ze)Checks if is same subclass.-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
deepCopy, getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, isPassive, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Method Detail
-
isSameSubclass
public boolean isSameSubclass(ZestElement ze)
Description copied from class:ZestElementChecks if is same subclass.- Overrides:
isSameSubclassin classZestStatement- Parameters:
ze- the ze- Returns:
- true, if is same subclass
-
invoke
public abstract String invoke(ZestResponse response, ZestRuntime runtime) throws ZestActionFailException
Invoke.- Parameters:
response- the response- Returns:
- the string
- Throws:
ZestActionFailException- the zest action fail exception
-
-