Package org.mozilla.zest.core.v1
Class ZestClientWindowClose
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestClient
-
- org.mozilla.zest.core.v1.ZestClientWindowClose
-
public class ZestClientWindowClose extends ZestClient
Close the specified client
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestClientWindowClose()ZestClientWindowClose(String windowHandle, int sleepInSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestStatementdeepCopy()Deep copy.intgetSleepInSeconds()StringgetWindowHandle()Stringinvoke(ZestRuntime runtime)booleanisPassive()Checks if is passive.voidsetSleepInSeconds(int sleepInSeconds)voidsetWindowHandle(String windowHandle)-
Methods inherited from class org.mozilla.zest.core.v1.ZestClient
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
-
ZestClientWindowClose
public ZestClientWindowClose()
-
ZestClientWindowClose
public ZestClientWindowClose(String windowHandle, int sleepInSeconds)
-
-
Method Detail
-
getWindowHandle
public String getWindowHandle()
-
setWindowHandle
public void setWindowHandle(String windowHandle)
-
getSleepInSeconds
public int getSleepInSeconds()
-
setSleepInSeconds
public void setSleepInSeconds(int sleepInSeconds)
-
deepCopy
public ZestStatement deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestStatement- Returns:
- the zest element
-
isPassive
public boolean isPassive()
Description copied from class:ZestStatementChecks if is passive.- Specified by:
isPassivein classZestStatement- Returns:
- true, if is passive
-
invoke
public String invoke(ZestRuntime runtime)
- Specified by:
invokein classZestClient
-
-