public abstract class AbstractAction extends Object implements Action
Constructor and Description |
---|
AbstractAction() |
Modifier and Type | Method and Description |
---|---|
long |
getWait()
returns the wait time (ms) after the action is executed before continuing
|
boolean |
hasComplexPath() |
boolean |
hasSimplePath() |
boolean |
hasWait()
returns
true if there is a wait between action execution and continued evaluation |
boolean |
isAbsoluteAction()
returns
true if the action is absolute, false otherwise |
boolean |
isBackActionNeeded() |
void |
isBackActionNeeded(boolean isBackActionNeeded) |
void |
setHasComplexPath(boolean hasComplexPath) |
void |
setHasSimplePath(boolean hasSimplePath) |
void |
setIsAbsoluteAction(boolean absolute)
sets whether the action is absolute
|
void |
setWait(long wait)
sets the wait time (ms) after the action is executed before continuing
|
String |
toOXPathString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionType, getValue
public boolean hasSimplePath()
hasSimplePath
in interface OXPathLanguagePart
public boolean hasComplexPath()
hasComplexPath
in interface OXPathLanguagePart
public void setHasSimplePath(boolean hasSimplePath)
setHasSimplePath
in interface OXPathLanguagePart
public void setHasComplexPath(boolean hasComplexPath)
setHasComplexPath
in interface OXPathLanguagePart
public void setIsAbsoluteAction(boolean absolute)
setIsAbsoluteAction
in interface Action
absolute
- true
if the action is absolute, false
otherwisepublic boolean isAbsoluteAction()
true
if the action is absolute, false
otherwiseisAbsoluteAction
in interface Action
true
if the action is absolute, false
otherwisepublic void setWait(long wait)
public long getWait()
public boolean hasWait()
true
if there is a wait between action execution and continued evaluationpublic String toOXPathString()
toOXPathString
in interface OXPathLanguagePart
public boolean isBackActionNeeded()
isBackActionNeeded
in interface Action
public void isBackActionNeeded(boolean isBackActionNeeded)
isBackActionNeeded
in interface Action
Copyright © 2020 OXPath Team. All rights reserved.